From 8fc8c268d80583af569491ceaa3585755e69746c Mon Sep 17 00:00:00 2001 From: Brian Read Date: Mon, 10 Apr 2023 19:17:59 +0100 Subject: [PATCH] Update make-archive.sh --- make-archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 make-archive.sh diff --git a/make-archive.sh b/make-archive.sh old mode 100644 new mode 100755 index 8843830..f3915fd --- a/make-archive.sh +++ b/make-archive.sh @@ -7,7 +7,7 @@ NAME=$(basename `pwd`) VER_REL=$(rpm -q --qf "%{VERSION}\n" --specfile ${NAME}.spec | head -n 1) #ARCHIVEFILE=$(cat ${NAME}.spec | grep -e '^[S|s]ource' | sed -r 's/^[S|s]ource[0-9]?:\s?//' | xargs basename) #ARCHIVEFILE=$(rpm --queryformat "${ARCHIVEFILE}\n" --specfile ${NAME}.spec | head -n 1) -ARCHIVEFILE := $(shell cat archivefilename) +ARCHIVEFILE=$(cat archivefilename) TREEPATH="$NAME-$VER_REL" echo -e "\n$NAME $ARCHIVEFILE $TREEPATH" echo -e "\nMaking archive file ${ARCHIVEFILE} `pwd`" ; \