aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/scripts/createlang.sh')
-rw-r--r--src/bin/scripts/createlang.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/scripts/createlang.sh b/src/bin/scripts/createlang.sh
index d2aabe30c55..229cb945245 100644
--- a/src/bin/scripts/createlang.sh
+++ b/src/bin/scripts/createlang.sh
@@ -7,12 +7,12 @@
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.34 2002/02/18 23:11:30 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.35 2002/04/12 09:37:10 momjian Exp $
#
#-------------------------------------------------------------------------
CMDNAME=`basename "$0"`
-PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
+PATHNAME=`echo "$0" | sed "s,$CMDNAME\$,,"`
PSQLOPT=
dbname=
@@ -55,7 +55,7 @@ do
PSQLOPT="$PSQLOPT $1"
;;
--host=*)
- PSQLOPT="$PSQLOPT -h "`echo $1 | sed 's/^--host=//'`
+ PSQLOPT="$PSQLOPT -h `echo \"$1\" | sed 's/^--host=//'`"
;;
--port|-p)
PSQLOPT="$PSQLOPT -p $2"
@@ -64,7 +64,7 @@ do
PSQLOPT="$PSQLOPT $1"
;;
--port=*)
- PSQLOPT="$PSQLOPT -p "`echo $1 | sed 's/^--port=//'`
+ PSQLOPT="$PSQLOPT -p `echo \"$1\" | sed 's/^--port=//'`"
;;
--username|-U)
PSQLOPT="$PSQLOPT -U $2"
@@ -73,7 +73,7 @@ do
PSQLOPT="$PSQLOPT $1"
;;
--username=*)
- PSQLOPT="$PSQLOPT -U "`echo $1 | sed 's/^--username=//'`
+ PSQLOPT="$PSQLOPT -U `echo \"$1\" | sed 's/^--username=//'`"
;;
--password|-W)
PSQLOPT="$PSQLOPT -W"