Skip to content

Commit

Permalink
Merge pull request #139 from yegorich/freight-cache-fixes
Browse files Browse the repository at this point in the history
bin/freight-cache: don't quote the FIND_L variable
  • Loading branch information
yegorich authored Oct 5, 2023
2 parents 1a6cdac + 135989d commit 1466413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/freight-cache
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ for DIR in $DIRS; do
# whatever it wants.
. "$LIB/$MANAGER.sh"
SORT="$(sort -V <"/dev/null" 2>"/dev/null" && echo "sort -V" || echo "sort")"
find "$FIND_L" "$DIR" -type "f" -printf "%P\n" 2>"/dev/null" |
# shellcheck disable=SC2086
find $FIND_L "$DIR" -type "f" -printf "%P\n" 2>"/dev/null" |
eval "$SORT" |
eval "${MANAGER}_cache" "$DIST"

Expand Down

0 comments on commit 1466413

Please sign in to comment.