Fix broken psql tests.
[pspp] / tests / language / data-io / get-data-psql.at
index 923c9bd3c7637ec512e81b9c038cbfebd7607e9f..f1ebd3404ea977683b33a67e0fca4895c82ee213 100644 (file)
@@ -136,7 +136,7 @@ m4_define([INIT_PSQL],
    # normal $PATH works fine though.
    if (PATH=$PG_PATH:$PATH psql -V) >/dev/null 2>&1; then
        psql () {
-           PATH=$PG_PATH:$PATH command psql "$@"
+           PATH=$PG_PATH:$PATH command psql "$$@@"
        }
    fi
    AT_CHECK([psql -h "$socket_dir" -p $PG_PORT $PG_DBASE < populate.sql],