From 2a0a4ebe475a593b4ba6bfb9c64facb03f7c2a53 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Fri, 3 Jan 2025 17:25:08 +0100 Subject: [PATCH] fix typo --- makedist | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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