aboutsummaryrefslogtreecommitdiff
path: root/src/bin/destroydb/destroydb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/destroydb/destroydb.sh')
-rw-r--r--src/bin/destroydb/destroydb.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/destroydb/destroydb.sh b/src/bin/destroydb/destroydb.sh
index e0b0e4256ed..9f863a964fb 100644
--- a/src/bin/destroydb/destroydb.sh
+++ b/src/bin/destroydb/destroydb.sh
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.5 1996/11/14 10:25:14 bryanh Exp $
+# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.6 1996/11/17 03:54:58 bryanh Exp $
#
#-------------------------------------------------------------------------
@@ -42,22 +42,22 @@ do
shift;
done
-if [-z "$AUTHSYS" ]; then
- AUTHOPT = ""
+if [ -z "$AUTHSYS" ]; then
+ AUTHOPT=""
else
- AUTHOPT = "-a $AUTHSYS"
+ AUTHOPT="-a $AUTHSYS"
fi
-if [-z "$PGHOST" ]; then
- PGHOSTOPT = ""
+if [ -z "$PGHOST" ]; then
+ PGHOSTOPT=""
else
- PGHOSTOPT = "-h $PGHOST"
+ PGHOSTOPT="-h $PGHOST"
fi
-if [-z "$PGPORT" ]; then
- PGPORTOPT = ""
+if [ -z "$PGPORT" ]; then
+ PGPORTOPT=""
else
- PGPORTOPT = "-p $PGPORT"
+ PGPORTOPT="-p $PGPORT"
fi
psql -tq $AUTHOPT $PGHOSTOPT $PGPORTOPT -c "drop database $dbname" template1