diff options
author | Erich Eckner <git@eckner.net> | 2019-05-20 09:49:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-20 09:49:05 +0200 |
commit | 55fd8243cda21d158673a87df9d43a434f04e9e4 (patch) | |
tree | e998341265adf05fcbb750f901c94e6fb8df2b13 /archPackagesUpdate | |
parent | d4722ad654b4f49fa2825155c146db9bf9b25697 (diff) | |
download | archlinuxewe.git.save-55fd8243cda21d158673a87df9d43a434f04e9e4.tar.xz |
archPackagesUpdate: strip trailing "/" from --only parameters
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-x | archPackagesUpdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index b8825222..079ec3a9 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -166,7 +166,7 @@ while true; do --only) shift echo '"only '"$1"'" erkannt' - onlyPackages[${#onlyPackages[@]}]="$1" + onlyPackages[${#onlyPackages[@]}]="${1%/}" ;; -p|--print-only) echo '"print-only" erkannt' |