From b2e01124a43a97088c18943de94149f4f8014e95 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Fri, 3 Jan 2025 17:29:45 +0100 Subject: [PATCH] fix typo --- makedist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makedist b/makedist index bd1bca9..063acab 100755 --- a/makedist +++ b/makedist @@ -286,7 +286,8 @@ if [ "$ARCH" = "ppc64le" ]; then echo "Failed to get $ARCH cvmfs rpm from copr" >&2 exit 1 fi - CVMFSRPMNAME="$(basename $CVMFSRPMURL)" + CVMFSURL="$(dirname $CVMFSRPMURLS)" + CVMFSRPMNAME="$(basename $CVMFSRPMURLS)" CVMFSVERSION="`echo "$CVMFSRPMNAME" 's/.*cvmfs-\([^-]*\)-.*/\1/'`" else CVMFSURL="$CVMFS_BASEURL/yum/cvmfs/$DISTRO_YUM/$VERS/$ARCH"