Add support for building in a path containing spaces.

This commit is contained in:
David Brown 2019-11-04 16:06:16 +00:00
parent 8cec6b3794
commit e4743120de
4 changed files with 172 additions and 173 deletions

View file

@ -12,9 +12,9 @@
# The current directory is the build directory
changes="0"
for f in $1/*; do
fn=$(basename $f)
egrep -v -f ../../src/tools/make/ignore $f >$fn.old
find "$1" -type f -print0 | while IFS= read -r -d '' f; do
fn=$(basename "$f")
egrep -v -f ../../src/tools/make/ignore "$f" >$fn.old
egrep -v -f ../../src/tools/make/ignore $fn >$fn.new
if ! diff -U 2 -b $fn.old $fn.new >$fn.diff; then
echo ""