[PATCH 1 of 5] Fixed warning on uninitialized var
Wald Commits
scm-commit at wald.intevation.org
Wed Sep 17 18:56:33 CEST 2014
# HG changeset patch
# User Sascha Wilde <wilde at intevation.de>
# Date 1410964514 -7200
# Node ID 1110d0017bad68884b55785ff0b5eb7aaa400cd8
# Parent cf154e1f687a903de85748873e3814fe35adbf40
Fixed warning on uninitialized var...
diff -r cf154e1f687a -r 1110d0017bad packaging/linux-installer.inc.in
--- 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
More information about the Trustbridge-commits
mailing list