Fix strange quoting.
authorBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2007 22:24:32 +0000 (22:24 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2007 22:24:32 +0000 (22:24 +0000)
src/test/bench/runwisc.sh

index 22b458bab3c211b90e939ecd00a679af55beefa5..a208e8a098ea49993adc3dec9bd45240b01b34a1 100755 (executable)
@@ -11,7 +11,7 @@ if [ -d ./obj ]; then
 fi
 
 echo =============== vacuuming benchmark database... ================= >&2
-echo "vacuum" | postgres -D${1} bench > /dev/null
+echo "vacuum" | postgres -D"$1" bench > /dev/null
 
 echo =============== running benchmark... ================= >&2
-time postgres -D${1} -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench < bench.sql 2>&1
+time postgres -D"$1" -texecutor -tplanner -c log_min_messages=log -c log_destination=stderr -c redirect_stderr=off bench < bench.sql 2>&1