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

@ -2,16 +2,16 @@
## '.' this file from individual test.sh files.
#set -e
echo --- Confidence test $(basename $PWD) ---
echo --- Confidence test $(basename "$PWD") ---
if which cygpath >/dev/null 2>/dev/null
then export PATH="$(cygpath "$1")/bin":"$PATH"
else export PATH="$1/bin":"$PATH"
fi
# Set ibrary paths for darwin and termux(android)
# Set library paths for darwin and termux(android)
export DYLD_LIBRARY_PATH=$1/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$1/lib:$LD_LIBRARY_PATH
rm -f *.o *.obj *.exe *.sym *.c *.h result new.asm $(basename $PWD)
rm -f *.o *.obj *.exe *.sym *.c *.h result new.asm $(basename "$PWD")
# Under gcc generate assembly source for source change test.
# NOTE: The cygwin 64 bit build has relocation errors with