]> granicus.if.org Git - sudo/commitdiff
The old Solaris /bin/sh doesn't support POSIX $( .. ) syntax,
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Jul 2015 15:34:22 +0000 (09:34 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Jul 2015 15:34:22 +0000 (09:34 -0600)
use backquotes instead.

mkpkg

diff --git a/mkpkg b/mkpkg
index abeef1ea04f3400ea37b1733a7a0fea84fedaeac..05d402ed8ff868b89a4b78769e7c1c924c8acd0a 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -191,7 +191,7 @@ case "$osversion" in
                ;;
        esac
        # Newer Debian uses arch-specific lib dirs
-       MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
+       MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null`
        # Note, must indent with tabs, not spaces due to IFS trickery
        if test "$flavor" = "ldap"; then
            configure_opts="${configure_opts}${configure_opts+$tab}--with-ldap