diff packaging/linux-installer.inc.in @ 1137:1110d0017bad

Fixed warning on uninitialized var...
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Sep 2014 16:35:14 +0200
parents f1384bf9d4a4
children
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Wed Sep 17 15:06:03 2014 +0200
+++ b/packaging/linux-installer.inc.in	Wed Sep 17 16:35:14 2014 +0200
@@ -265,7 +265,7 @@
 
   # remove temporary directories:
   local -a temp_dirs
-  if [ "${lock_dir}" ]; then
+  if [ "${lock_dir:-}" ]; then
       # $lock_dir is generate by the shar
       temp_dirs+=("${instcfg[PREFIX]}/$lock_dir")
   fi

http://wald.intevation.org/projects/trustbridge/