summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-20 09:49:05 +0200
committerErich Eckner <git@eckner.net>2019-05-20 09:49:05 +0200
commit55fd8243cda21d158673a87df9d43a434f04e9e4 (patch)
treee998341265adf05fcbb750f901c94e6fb8df2b13 /archPackagesUpdate
parentd4722ad654b4f49fa2825155c146db9bf9b25697 (diff)
downloadarchlinuxewe.git.save-55fd8243cda21d158673a87df9d43a434f04e9e4.tar.xz
archPackagesUpdate: strip trailing "/" from --only parameters
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate2
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'