[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Regression Tests Patch: scripts/create_sed


Hi,

Just run the regression tests on Solaris, and scripts/create_sed
generated a few error messages. The script has:

LIBDBI=${LIBDBI:- }

which causes an error with the Bourne shell, because it parses
the space before the brackets, causing it to interpret the } as
a command, resulting in:

scripts/create_sed: }: not found

Patch attached.

Also, I have been having problems with scripts/get-os. It contains
lines like:

$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||

If the SHELL environ is set to something other than sh or bash, I
get syntax errors from config.sub. I can work around this, by setting
SHELL to /bin/bash before running make setup.

I am not sure about this - it may actually be an autoconf/automake
issue rather than a Bacula one .... ?

Allan
Index: scripts/create_sed
===================================================================
--- scripts/create_sed	(revision 6973)
+++ scripts/create_sed	(working copy)
@@ -11,7 +11,7 @@
 # set the ports used by these tests
 BASEPORT=${BASEPORT:-8101}
 AUTOCHANGER_SCRIPT=${AUTOCHANGER_SCRIPT:-mtx-changer}
-LIBDBI=${LIBDBI:- }
+LIBDBI=${LIBDBI:-}
 libdbi=${LIBDBI}
 srcdir=${BACULA_SOURCE}
 dirport=${BASEPORT}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.