From: Todd C. Miller Date: Thu, 15 Jul 2010 19:44:36 +0000 (-0400) Subject: Use '=' not '==' in test X-Git-Tag: SUDO_1_8_0~372 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df1ed5f3e1472a41b681ef031b10818706e7c586;p=sudo Use '=' not '==' in test --- diff --git a/mkpkg b/mkpkg index 4d2a51a9a..3d20d5a4a 100755 --- 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