index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | makechrootpkg.in | 3 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 409f0e7..c33ff8a 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -325,10 +325,9 @@ fi makepkg_args+=("${@:$OPTIND}") # See if -R or -e was passed to makepkg -for arg in "${makepkg_args[@]}"; do +for arg in "${@:$OPTIND}"; do case ${arg%%=*} in --repackage|--noextract) keepbuilddir=1; break ;; - --repackage|--noextract) keepbuilddir=1; break ;; --*) ;; -*R*|-*e*) keepbuilddir=1; break ;; esac |