]> granicus.if.org Git - sudo/commitdiff
platform is a pp flag not a variable
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 26 Jul 2010 15:34:56 +0000 (11:34 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 26 Jul 2010 15:34:56 +0000 (11:34 -0400)
mkpkg

diff --git a/mkpkg b/mkpkg
index 9b415699d8ad2159ab0e4f4920209bacf76ab6e7..8a11fcd58b199c33afc6538d467fdeb29b7cfb32 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -32,14 +32,14 @@ while test $# -gt 0; do
            ;;
        --platform=?*)
            arg=`echo "$1" | sed -n 's/^--platform=\(.*\)/\1/p'`
-           PPVARS="${PPVARS}${PPVARS+ }platform=$arg"
+           PPFLAGS="${PPFLAGS}${PPFLAGS+ }--platform $arg"
            ;;
        --platform)
            if [ $# -lt 2 ]; then
                echo "$usage" 1>&2
                exit 1
            fi
-           PPVARS="${PPVARS}${PPVARS+ }platform=$2"
+           PPFLAGS="${PPFLAGS}${PPFLAGS+ }--platform $2"
            shift
            ;;
     esac