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"