Skip to content

Commit c722628

Browse files
committed
Fix strange quoting.
1 parent 4f49621 commit c722628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/bench/runwisc.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/runwisc.sh,v 1.8 2004/10/07 22:51:13 momjian Exp $
2+
# $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.9 2007/08/01 22:24:32 momjian Exp $
33

44
if [ ! -d $1 ]; then
55
echo " you must specify a valid data directory " >&2
@@ -11,7 +11,7 @@ if [ -d ./obj ]; then
1111
fi
1212

1313
echo =============== vacuuming benchmark database... ================= >&2
14-
echo "vacuum" | postgres -D${1} bench > /dev/null
14+
echo "vacuum" | postgres -D"$1" bench > /dev/null
1515

1616
echo =============== running benchmark... ================= >&2
17-
time postgres -D${1} -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench < bench.sql 2>&1
17+
time postgres -D"$1" -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench < bench.sql 2>&1

0 commit comments

Comments
 (0)