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 Sep 12, 2024
1 parent a8b62bd commit 0cbbecb
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 @@ -310,13 +310,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 0cbbecb

Please sign in to comment.