From ae6ee4015ffccc94013fbf17b57250d5d16de681 Mon Sep 17 00:00:00 2001 From: Ievgen Sliusar Date: Wed, 14 Aug 2024 14:19:09 +0200 Subject: [PATCH] Use single USEFUSE3 variable --- makedist | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/makedist b/makedist index 9c0a791..abf7348 100755 --- a/makedist +++ b/makedist @@ -28,7 +28,7 @@ usage() } SING=false -FUSE3=false +USEFUSE3=false MACHTYPE="" while true; do if [ "$1" = "-s" ]; then @@ -38,7 +38,7 @@ while true; do MACHTYPE="$2" shift 2 elif [ "$1" = "-3" ]; then - FUSE3=true + USEFUSE3=true shift else break @@ -306,13 +306,9 @@ FUSESUBDIR=false CVMFSFUSE3RPMNAME=`echo $CVMFSRPMNAME|sed 's/cvmfs-/cvmfs-fuse3-/'` CVMFSFUSE3URL="$CVMFSURL/$CVMFSFUSE3RPMNAME" -USEFUSE3=false if $SING; then USEFUSE3=true fi -if $FUSE3; then - USEFUSE3=true -fi if [ "$EL" -ge 9 ]; then USEFUSE3=true fi