Hi!

gnucash-2.0.1 (and svn from a few minutes ago) uses the unportable
bash "==" comparison operator for test(1). It is not supported by
most other shells or even test(1) from GNU coreutils. Please use
"=" instead. Patch against 2.0.1 is attached.

Cheers,
 Thomas
$NetBSD: patch-ae,v 1.3 2006/10/16 22:47:53 wiz Exp $

--- src/backend/postgres/test/run-tests.sh.orig 2006-07-30 23:41:33.000000000 
+0000
+++ src/backend/postgres/test/run-tests.sh
@@ -14,7 +14,7 @@ if ${srcdir}/db-control.sh create; then
 elif [ "${PGHOST}X" != "X" ]; then
 # This expects the logged in user to have authority
 # to create databases.
-    if [ "${PGPORT}X" == "X" ]; then
+    if [ "${PGPORT}X" = "X" ]; then
        export PGPORT=5432
     fi
     ./test-db $PGHOST $PGPORT || EXIT_VALUE=1
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to