The old Solaris /bin/sh doesn't support POSIX $( .. ) syntax,

use backquotes instead.
This commit is contained in:
Todd C. Miller
2015-07-09 09:34:22 -06:00
parent 2d0699a070
commit 6c9e92aba6

2
mkpkg
View File

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