Skip to content

Commit

Permalink
allowed slightly longer user-config filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
derpycode committed Mar 8, 2023
1 parent 1c6eeff commit c2223e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions genie-main/runmuffin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ if [ -z "$3" ]; then
else
RUNID="$3"
fi
if [ $(expr length "$3") -gt 63 ] ; then
echo "Usage: '$3' 3rd parameter must be less than 64 characters in length"
if [ $(expr length "$3") -gt 95 ] ; then
echo "Usage: '$3' 3rd parameter must be less than 96 characters in length"
exit 65
fi
GOIN=$GOINDIR/$RUNID
Expand All @@ -63,8 +63,8 @@ fi
# [5] restart path (optional)
if [ -n "$5" ]; then
RESTARTPATH=$OUTPUTDIR/"$5"
if [ $(expr length "$5") -gt 63 ] ; then
echo "Usage: '$5' 5th parameter must be less than 64 characters in length"
if [ $(expr length "$5") -gt 95 ] ; then
echo "Usage: '$5' 5th parameter must be less than 96 characters in length"
exit 65
fi
fi
Expand Down

0 comments on commit c2223e4

Please sign in to comment.