Skip to content

Commit

Permalink
fix bug in prune_files.sh where we shouldn't have had a % at the end …
Browse files Browse the repository at this point in the history
…of the string, but we should handle it even if we do
  • Loading branch information
mmguero committed May 2, 2024
1 parent 01db019 commit 91e7f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/bin/prune_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ while getopts i:m:p:rt:v opts; do
m) MAXSIZE_GB=${OPTARG} ;;
p) PRUNE_PATH=${OPTARG} ;;
r) DEPTH=999 ;;
t) THRESHOLD_PCT=${OPTARG} ;;
t) THRESHOLD_PCT="${OPTARG//%}" ;;
v) VERBOSE=1 ;;
esac
done
Expand Down

0 comments on commit 91e7f48

Please sign in to comment.