From: Todd C. Miller Date: Mon, 26 Jul 2010 15:34:56 +0000 (-0400) Subject: platform is a pp flag not a variable X-Git-Tag: SUDO_1_8_0~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eebebeecec349844d0d93a52ae67c4824aeec31;p=sudo platform is a pp flag not a variable --- diff --git a/mkpkg b/mkpkg index 9b415699d..8a11fcd58 100755 --- 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