From: Marco van Wieringen Date: Mon, 25 Jan 2010 17:37:50 +0000 (+0100) Subject: Small change to update_postgresql_tables.in for environments where /bin/sh is not... X-Git-Tag: Release-5.0.1~153 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5f0889c3c6a0573a9565c42b2a497f861c9d22f;p=bacula%2Fbacula Small change to update_postgresql_tables.in for environments where /bin/sh is not bash and you cannot export a variable. There is also no reason to export PATH again as its exported by any shell by default already. --- diff --git a/bacula/src/cats/update_postgresql_tables.in b/bacula/src/cats/update_postgresql_tables.in index 89fff68257..f99fd083ff 100644 --- a/bacula/src/cats/update_postgresql_tables.in +++ b/bacula/src/cats/update_postgresql_tables.in @@ -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} $* <