From 41683fccb6751d948c1ece327fbe7705480dbf26 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Wed, 7 Aug 2024 22:07:45 +0200 Subject: [PATCH] Update fetch.sh --- fetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.sh b/fetch.sh index e8414e858..5ce3799da 100755 --- a/fetch.sh +++ b/fetch.sh @@ -21,7 +21,7 @@ fi mkdir -p ./output # -for bin_pkg in $(apt showsrc "PIKA_PACKAGE_VERSION" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d') +for bin_pkg in $(apt showsrc "$PIKA_PACKAGE_VERSION" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d') do BIN_VERSION=$(apt show $bin_pkg:$PIKA_BIN_ARCH 2>&1 | grep Version: | head -n1 | cut -f2- -d":" | cut -f2- -d":" | tr -d ' ') TARGET_VERSION=$(echo $BIN_VERSION | sed 's/\+b.*//')