changeset 1137:1110d0017bad

Fixed warning on uninitialized var...
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Sep 2014 16:35:14 +0200
parents cf154e1f687a
children 05d4e882fe18
files packaging/linux-installer.inc.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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/