Use '=' not '==' in test

This commit is contained in:
Todd C. Miller
2010-07-15 15:44:36 -04:00
parent 3383311862
commit df1ed5f3e1

4
mkpkg
View File

@@ -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