]> granicus.if.org Git - sudo/commitdiff
Fix the check for whether to include 32-bit arch in Mac OS X packages.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 25 Oct 2015 15:10:15 +0000 (09:10 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 25 Oct 2015 15:10:15 +0000 (09:10 -0600)
mkpkg

diff --git a/mkpkg b/mkpkg
index b9e41d80d01d308a99d36c72ae33561ce52a5c9e..1578042fc307ad4fd8750f560d380c4d3f06581c 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -241,7 +241,7 @@ case "$osversion" in
        ;;
     macos*)
        case "$osversion" in
-           macos10[0-6]i386|macos10[0-6]x86_64)
+           macos10[0-6]-i386|macos10[0-6]-x86_64)
                # Build intel universal binaries for 10.6 and below
                ARCH_FLAGS="-arch i386 -arch x86_64"
                ;;