From b0294e1fde5d8704ae6d7377f709690403c5f447 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 1 Mar 2022 15:25:33 +0100 Subject: [PATCH] -e Signed-off-by: Gwenhael Le Moine --- rebuild-and-install-all.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rebuild-and-install-all.sh b/rebuild-and-install-all.sh index 3047845f..136c2b41 100755 --- a/rebuild-and-install-all.sh +++ b/rebuild-and-install-all.sh @@ -2,10 +2,12 @@ WD=/home/installs/SlackBuilds CAT=${CAT:-$1} + +cd $WD +./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*" + for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*"); do cd $p - echo -n "$p : " - ls - ./SlackBuild + bash -e ./SlackBuild cd $WD done