Use '=' not '==' in test
This commit is contained in:
4
mkpkg
4
mkpkg
@@ -97,7 +97,7 @@ case "$platform" in
|
|||||||
deb*)
|
deb*)
|
||||||
prefix=/usr
|
prefix=/usr
|
||||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
# 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
|
configure_opts="--with-ldap
|
||||||
--with-ldap-conf-file=/etc/sudo-ldap.conf"
|
--with-ldap-conf-file=/etc/sudo-ldap.conf"
|
||||||
fi
|
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"
|
--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"
|
configure_opts="--with-ldap"
|
||||||
fi
|
fi
|
||||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||||
|
Reference in New Issue
Block a user