From 55fd8243cda21d158673a87df9d43a434f04e9e4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 20 May 2019 09:49:05 +0200 Subject: archPackagesUpdate: strip trailing "/" from --only parameters --- archPackagesUpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archPackagesUpdate') 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' -- cgit v1.2.3-70-g09d2