Skip to content

Commit

Permalink
Try explicitly setting excludes to an array
Browse files Browse the repository at this point in the history
Otherwise, if it is unset, it appears that (at least on macos), the following
expands to an empty string argument rather than no arguments:

    "${excludes[@]}"
  • Loading branch information
bcc32 committed Jul 8, 2024
1 parent 4241849 commit 5f6ad2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function files-project {
set -x
[[ $1 ]] && pattern="/$1" || pattern="."
local excludes
local excludes=()
for submodule in $(submodules)
do
excludes+=(":!:$submodule")
Expand Down

0 comments on commit 5f6ad2c

Please sign in to comment.