summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2022-08-21 11:08:57 +0100
committerLevente Polyak <anthraxx@archlinux.org>2022-08-31 23:38:13 +0200
commit1e23bbc164dedf58a62177fb5da861b6895ce63c (patch)
tree132e4bf6f06baead80de109ce4006c46fb9a9e18
parent53be0527e2c9285476a27331ad1851819e849c45 (diff)
downloaddevtools-1e23bbc164dedf58a62177fb5da861b6895ce63c.tar.xz
makechrootpkg: support -A makepkg flag
-rw-r--r--src/makechrootpkg.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makechrootpkg.in b/src/makechrootpkg.in
index 126d1da..f9a9289 100644
--- a/src/makechrootpkg.in
+++ b/src/makechrootpkg.in
@@ -314,9 +314,10 @@ makepkg_args+=("${@:$OPTIND}")
# See if -R or -e was passed to makepkg
for arg in "${@:$OPTIND}"; do
case ${arg%%=*} in
- --skip*|--holdver) verifysource_args+=("$arg") ;;
+ --skip*|--holdver|--ignorearch) verifysource_args+=("$arg") ;;
--repackage|--noextract) keepbuilddir=1 ;;
--*) ;;
+ -*A*) verifysource_args+=(-A) ;;
-*R*|-*e*) keepbuilddir=1 ;;
esac
done