From d67ecacdb416441de2ac14ffe5e63475b926a1fa Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Thu, 7 Sep 2017 16:54:41 +0900 Subject: [PATCH] Don't use temporary gz file for ppa listing Fix shellcheck error, introduced by commit b6c97c5. --- cmake/msys/fetch_ppa.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmake/msys/fetch_ppa.sh b/cmake/msys/fetch_ppa.sh index 66eebed28..ba8697c81 100644 --- a/cmake/msys/fetch_ppa.sh +++ b/cmake/msys/fetch_ppa.sh @@ -24,10 +24,7 @@ skip_files="$skip_files x-runtime gcc qt_4 qt5 x-stk pkgconfig" skip_files="$skip_files glib2 libpng" echo "Connecting to $PPA_URL to get list of packages..." -wget $PPA_URL -qO ${temp_file}.gz -gzip -d ${temp_file}.gz -cat $temp_file |grep "Filename:" > ${temp_file}_stripped -mv ${temp_file}_stripped $temp_file +wget -qO- $PPA_URL | gzip -d -c | grep "Filename:" > $temp_file for j in $skip_files ; do grep -v "$j" $temp_file > $temp_temp_file