Skip to content

Commit

Permalink
Use single USEFUSE3 variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tildeslu committed Aug 14, 2024
1 parent 9b8d7a6 commit ae6ee40
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions makedist
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ usage()
}

SING=false
FUSE3=false
USEFUSE3=false
MACHTYPE=""
while true; do
if [ "$1" = "-s" ]; then
Expand All @@ -38,7 +38,7 @@ while true; do
MACHTYPE="$2"
shift 2
elif [ "$1" = "-3" ]; then
FUSE3=true
USEFUSE3=true
shift
else
break
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae6ee40

Please sign in to comment.