diff --git a/makedist b/makedist index 508aec4..bd1bca9 100755 --- a/makedist +++ b/makedist @@ -282,11 +282,10 @@ if [ "$ARCH" = "ppc64le" ]; then # Grab cvmfs package from copr, using yumdownloader to calculate # the URL CVMFSRPMURLS="$(getcoprurl cvmfs)" - if [ -z "$CVMFSRPMURL" ]; then + if [ -z "$CVMFSRPMURLS" ]; then echo "Failed to get $ARCH cvmfs rpm from copr" >&2 exit 1 fi - CVMFSURL="$(dirname $CVMFSRPMURL)" CVMFSRPMNAME="$(basename $CVMFSRPMURL)" CVMFSVERSION="`echo "$CVMFSRPMNAME" 's/.*cvmfs-\([^-]*\)-.*/\1/'`" else