Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/asp32.in
diff options
context:
space:
mode:
authorErick Cafferata <erick@cafferata.me>2019-01-19 15:51:04 -0500
committerErick Cafferata <erick@cafferata.me>2019-01-20 10:59:13 -0500
commitc4b485bca7df7e7b63ddeca25ed7d854aab59ef2 (patch)
treeff7a50b95ab94834da8ab7c6ca038db74c0eea8d /asp32.in
parent7507592d73fd91af95c7bd659d2cfa84a48ec370 (diff)
add upstream option
- add -u option. This makes asp32 behave as upstream's asp (skips arch32 patching)
Diffstat (limited to 'asp32.in')
-rw-r--r--asp32.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/asp32.in b/asp32.in
index e467a3e..6b384cc 100644
--- a/asp32.in
+++ b/asp32.in
@@ -5,6 +5,7 @@ ARCH_GIT_REPOS=(packages64 community64 packages32)
OPT_ARCH=$(uname -m)
OPT_FORCE=0
+OPT_UPSTREAM=0
: "${ASPROOT:=${XDG_CACHE_HOME:-$HOME/.cache}/asp32}"
: "${ASPCACHE:=$ASPROOT/cache}"
@@ -23,6 +24,7 @@ Options:
-a ARCH Specify an architecture other than the host's
-f Allow files to be overwritten
-h Show this help
+ -u Behave as upstream asp
-V Show package version
Package Commands:
@@ -346,7 +348,7 @@ dispatch_action() {
initialize || log_fatal 'failed to initialize asp repository in %s' "$ASPROOT"
-while getopts ':a:fhV' flag; do
+while getopts ':a:fhuV' flag; do
case $flag in
a)
OPT_ARCH=$OPTARG
@@ -358,6 +360,9 @@ while getopts ':a:fhV' flag; do
usage
exit 0
;;
+ u)
+ OPT_UPSTREAM=1
+ ;;
V)
version
exit 0