summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 04:56:28 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-06-23 11:27:41 +0300
commit67f297d3ac1d7ff5a747633dc5625f1f3b887eb5 (patch)
treeb53dd9631f91a547a1c98310f8c26fe5e3193ac5
parent56355bff2180a50115f89d3e5ba0a03ab850c1f4 (diff)
downloadabuild-67f297d3ac1d7ff5a747633dc5625f1f3b887eb5.tar.gz
abuild-67f297d3ac1d7ff5a747633dc5625f1f3b887eb5.tar.bz2
abuild-67f297d3ac1d7ff5a747633dc5625f1f3b887eb5.tar.xz
abuild-67f297d3ac1d7ff5a747633dc5625f1f3b887eb5.zip
abuild: Add verbose option '-v' to show everything
-rw-r--r--abuild.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 26b971d..02a97ac 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2222,6 +2222,7 @@ usage() {
-R Recursively build and install missing dependencies (using sudo)
-s Set source package destination directory
-u Recursively build and upgrade all dependencies (using sudo)
+ -v Verbose: show every command as it is run (very noisy)
Commands:
build Compile and install package into \$pkgdir
@@ -2259,6 +2260,7 @@ APKBUILD="${APKBUILD:-./APKBUILD}"
unset force
unset recursive
while getopts "AcdD:fFhkKimnp:P:qrRs:u" opt; do
+while getopts "AcdD:fFhkKimnp:P:qrRs:uv" opt; do
case $opt in
'A') echo "$CARCH"; exit 0;;
'c') enable_colors
@@ -2280,6 +2282,7 @@ while getopts "AcdD:fFhkKimnp:P:qrRs:u" opt; do
's') SRCDEST=$OPTARG;;
'u') upgrade="-u"
recursive="-R";;
+ 'v') set -x;;
esac
done
shift $(( $OPTIND - 1 ))