]> git.sur5r.net Git - bacula/bacula/commitdiff
Small change to update_postgresql_tables.in for environments where /bin/sh is not...
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 25 Jan 2010 17:37:50 +0000 (18:37 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Jan 2010 21:57:57 +0000 (22:57 +0100)
and you cannot export a variable. There is also no reason to export PATH again as
its exported by any shell by default already.

bacula/src/cats/update_postgresql_tables.in

index 89fff6825731423bb9da9d9d42c12b78fd2be1cc..f99fd083ff605a284aa90da979f83fadef6ae46d 100644 (file)
@@ -9,7 +9,7 @@ echo " Standard version 3.0 to 5.0"
 echo " "
 
 bindir=@SQL_BINDIR@
-export PATH="$bindir:$PATH"
+PATH="$bindir:$PATH"
 db_name=@db_name@
 
 if psql -f - -d ${db_name} $* <<END-OF-DATA