From 81c02493de00e3831059ced29d727ba95a0531dc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 15 Jul 2010 15:44:47 -0400 Subject: [PATCH] Use '=' not '==' in test --HG-- branch : 1.7 --- mkpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.49.0