Skip to content

Commit

Permalink
prune __MACOSX directories from search for JS source
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Herman committed Aug 18, 2011
1 parent 723d53f commit 2f17650
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/e10s
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ path_array()
unset FILES i
while IFS= read -r -d $'\0' FILE; do
FILES[i++]='"'"$FILE"'"'
done < <(find . -name "$1" -print0)
done < <(find . -path '*/__MACOSX/*' -prune -o -name "$1" -print0)

IFS=","
echo "[${FILES[*]}]"
Expand All @@ -179,6 +179,7 @@ JS_ARRAY=$(path_array '*.js')
JSM_ARRAY=$(path_array '*.jsm')
XUL_ARRAY=$(path_array '*.xul')

echo "JS_ARRAY: ${JS_ARRAY}"

E10S=$ROOT/lib/e10s

Expand Down

0 comments on commit 2f17650

Please sign in to comment.