diff options
author | Erich Eckner <git@eckner.net> | 2016-04-06 21:51:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:19 +0200 |
commit | d1bdb00166d36fbcc14e72eb1276ce6d212ad476 (patch) | |
tree | 1d9cca3826a68edb600e4a14b56ca4312d3eb102 | |
parent | e322d49cf57e3f8d3fa0c7d25e24cafd9b79fdb9 (diff) | |
download | archlinuxewe-d1bdb00166d36fbcc14e72eb1276ce6d212ad476.tar.xz |
archPackagesUpdate gibt nun Meldung beim Parsen der Parameter
-rwxr-xr-x | archPackagesUpdate | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index 38ceb5243..bda7688bc 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -30,7 +30,7 @@ usage() exit 1 } -# parse arguments +echo 'parse arguments ...' eval set -- "$(getopt -o f --long force,no-upload,no-selfUpdate,no-abortOnMakepkgError -n "$(basename "$0")" -- "$@" || echo "usage")" args=("$@") @@ -38,18 +38,22 @@ while true do case $1 in -f|--force) + echo '"force" erkannt' force=true shift ;; --no-upload) + echo '"no-upload" erkannt' upload=false shift ;; --no-selfUpdate) + echo '"no-selfUpdate" erkannt' updateMe=false shift ;; --no-abortOnMakepkgError) + echo '"no-abortOnMakepkgError" erkannt' abortOnMakepkgError=false shift ;; @@ -70,6 +74,8 @@ then usage fi +echo '... done' + $aufRechenknecht && pkgSrcDir="${pkgSrcDir}/archPackages" cd "${pkgSrcDir}" |