From 9b01f6f6ea74789359e66e47149298068b935bfd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Sep 2019 14:18:21 +0200 Subject: archPackagesUpdate: simplify(?) knocking --- archPackagesUpdate | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index f684c71e2..6548201e5 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -535,8 +535,11 @@ if ${aufRechenknecht}; then SRCPKGDEST="${tmpDir}" makepkg -Sf err[${i}]=$? if [ ${err[${i}]} -eq 0 ]; then - eval "$(grep -F 'alias knock-knock' ~/.bashrc)" - knock-knock + eval "$( + grep -F 'alias knock-knock' ~/.bashrc \ + | cut -d= -f2 \ + | tr -d "'" + )" arch_num=$( printf '%s\n' "${arch}" \ | tr -d '[a-z]' -- cgit v1.2.3-70-g09d2