]> granicus.if.org Git - sudo/commitdiff
Use '=' not '==' in test
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 19:44:47 +0000 (15:44 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 19:44:47 +0000 (15:44 -0400)
--HG--
branch : 1.7

mkpkg

diff --git a/mkpkg b/mkpkg
index 4d2a51a9ae25c25713fbbe53939b398f8b689f8d..3d20d5a4a92d65324c3004c9794414aae0d7946b 100755 (executable)
--- a/mkpkg
+++ b/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