Skip to content

Commit ae6ee40

Browse files
committed
Use single USEFUSE3 variable
1 parent 9b8d7a6 commit ae6ee40

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

makedist

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ usage()
2828
}
2929

3030
SING=false
31-
FUSE3=false
31+
USEFUSE3=false
3232
MACHTYPE=""
3333
while true; do
3434
if [ "$1" = "-s" ]; then
@@ -38,7 +38,7 @@ while true; do
3838
MACHTYPE="$2"
3939
shift 2
4040
elif [ "$1" = "-3" ]; then
41-
FUSE3=true
41+
USEFUSE3=true
4242
shift
4343
else
4444
break
@@ -306,13 +306,9 @@ FUSESUBDIR=false
306306
CVMFSFUSE3RPMNAME=`echo $CVMFSRPMNAME|sed 's/cvmfs-/cvmfs-fuse3-/'`
307307
CVMFSFUSE3URL="$CVMFSURL/$CVMFSFUSE3RPMNAME"
308308

309-
USEFUSE3=false
310309
if $SING; then
311310
USEFUSE3=true
312311
fi
313-
if $FUSE3; then
314-
USEFUSE3=true
315-
fi
316312
if [ "$EL" -ge 9 ]; then
317313
USEFUSE3=true
318314
fi

0 commit comments

Comments
 (0)