Use '=' not '==' in test
This commit is contained in:
4
mkpkg
4
mkpkg
@@ -97,7 +97,7 @@ case "$platform" in
|
||||
deb*)
|
||||
prefix=/usr
|
||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||
if test "${SUDO_FLAVOR:-vanilla}" == "ldap"; then
|
||||
if test "${SUDO_FLAVOR:-vanilla}" = "ldap"; then
|
||||
configure_opts="--with-ldap
|
||||
--with-ldap-conf-file=/etc/sudo-ldap.conf"
|
||||
fi
|
||||
@@ -124,7 +124,7 @@ case "$platform" in
|
||||
--with-secure-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
|
||||
;;
|
||||
*)
|
||||
if test "${SUDO_FLAVOR:-vanilla}" == "ldap"; then
|
||||
if test "${SUDO_FLAVOR:-vanilla}" = "ldap"; then
|
||||
configure_opts="--with-ldap"
|
||||
fi
|
||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||
|
Reference in New Issue
Block a user