makechrootpkg: Also look for -e as --noextract
This commit is contained in:
parent
d0e684d2e9
commit
bd826752c9
|
@ -356,13 +356,13 @@ main() {
|
||||||
# Pass all arguments after -- right to makepkg
|
# Pass all arguments after -- right to makepkg
|
||||||
makepkg_args+=("${@:$OPTIND}")
|
makepkg_args+=("${@:$OPTIND}")
|
||||||
|
|
||||||
# See if -R was passed to makepkg
|
# See if -R or -e was passed to makepkg
|
||||||
for arg in "${@:OPTIND}"; do
|
for arg in "${makepkg_args[@]}"; do
|
||||||
case ${arg%%=*} in
|
case ${arg%%=*} in
|
||||||
-*R*|--repackage|--noextract)
|
--repackage|--noextract) keepbuilddir=true; break ;;
|
||||||
keepbuilddir=true
|
--repackage|--noextract) keepbuilddir=true; break ;;
|
||||||
break 2
|
--*) ;;
|
||||||
;;
|
-*R*|-*e*) keepbuilddir=true; break ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue