projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa13af6
)
Fix unquoted (and potentially wrong) -z invocation in shell
author
Roland Mas
<lolando@debian.org>
Mon, 8 Oct 2012 13:58:55 +0000
(13:58 +0000)
committer
Roland Mas
<lolando@debian.org>
Mon, 8 Oct 2012 13:58:55 +0000
(13:58 +0000)
src/deb-specific/install-ldap.sh
patch
|
blob
|
history
diff --git
a/src/deb-specific/install-ldap.sh
b/src/deb-specific/install-ldap.sh
index
c814da0
..
653b2a3
100755
(executable)
--- a/
src/deb-specific/install-ldap.sh
+++ b/
src/deb-specific/install-ldap.sh
@@
-71,7
+71,7
@@
check_base_dn() {
if [ -z "$addon" ] ; then
echo Gforge base DN is equal to server base DN -- OK
return 0
if [ -z "$addon" ] ; then
echo Gforge base DN is equal to server base DN -- OK
return 0
- elif [ -z
$(echo $addon | cut -d, -f2-)
] ; then
+ elif [ -z
"$(echo $addon | cut -d, -f2-)"
] ; then
echo Gforge base DN is just a level under the server base DN -- OK
return 0
else
echo Gforge base DN is just a level under the server base DN -- OK
return 0
else