Skip to content

Commit 4f49621

Browse files
committed
Fix script quoting problem.
1 parent 3bc6193 commit 4f49621

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/bench/create.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# $PostgreSQL: pgsql/src/test/bench/create.sh,v 1.5 2005/06/21 04:02:34 tgl Exp $
2+
# $PostgreSQL: pgsql/src/test/bench/create.sh,v 1.6 2007/08/01 22:23:01 momjian Exp $
33
#
44
if [ ! -d $1 ]; then
55
echo " you must specify a valid data directory " >&2
@@ -10,10 +10,10 @@ if [ -d ./obj ]; then
1010
fi
1111

1212
echo =============== destroying old bench database... =================
13-
echo "drop database bench" | postgres -D${1} postgres > /dev/null
13+
echo "drop database bench" | postgres -D"$1" postgres > /dev/null
1414

1515
echo =============== creating new bench database... =================
16-
echo "create database bench" | postgres -D${1} postgres > /dev/null
16+
echo "create database bench" | postgres -D"$1" postgres > /dev/null
1717
if [ $? -ne 0 ]; then
1818
echo createdb failed
1919
exit 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy