diff options
author | Erick Cafferata <erick@cafferata.me> | 2019-01-19 15:51:04 -0500 |
---|---|---|
committer | Erick Cafferata <erick@cafferata.me> | 2019-01-20 10:59:13 -0500 |
commit | c4b485bca7df7e7b63ddeca25ed7d854aab59ef2 (patch) | |
tree | ff7a50b95ab94834da8ab7c6ca038db74c0eea8d /asp32.in | |
parent | 7507592d73fd91af95c7bd659d2cfa84a48ec370 (diff) | |
download | asp32-c4b485bca7df7e7b63ddeca25ed7d854aab59ef2.tar.xz |
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.in | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |