|
|
@ -191,10 +191,9 @@ testBuild()
|
|
|
|
export CFLAGS=-m32
|
|
|
|
export CFLAGS=-m32
|
|
|
|
export CXXFLAGS=-m32
|
|
|
|
export CXXFLAGS=-m32
|
|
|
|
export LDFLAGS=-m32
|
|
|
|
export LDFLAGS=-m32
|
|
|
|
/c/MinGW/msys/1.0/bin/bash.exe -c "export PATH=/c/Qt/Qt5.6.0/5.6/mingw49_32/bin:/c/Qt/Qt5.6.0/Tools/mingw492_32/bin:/c/MinGW/bin:/usr/bin:/usr/local/bin:/c/cygwin64/bin:/c/Users/rmills/com:. ; $0"
|
|
|
|
/c/MinGW/msys/1.0/bin/bash.exe -c "export PATH=/c/Qt/Qt5.6.0/5.6/mingw49_32/bin:/c/Qt/Qt5.6.0/Tools/mingw492_32/bin:/c/MinGW/bin:/usr/bin:/usr/local/bin:. ; $0"
|
|
|
|
result=$?
|
|
|
|
result=$?
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
exit 0 ; # stop now. RECURSIVE will do the packaging
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
@ -218,6 +217,9 @@ testBuild()
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
) | tee "$build/dist/logs/build.log"
|
|
|
|
) | tee "$build/dist/logs/build.log"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# exit if are in mingw and leave cygwin to package the build
|
|
|
|
|
|
|
|
if [ $(uname -o) == "Msys" ]; then echo "goodbye from mingw" ; exit 0; fi
|
|
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
##
|
|
|
|
# store the build for users to collect
|
|
|
|
# store the build for users to collect
|
|
|
|
if [ "$result" == "0" ]; then
|
|
|
|
if [ "$result" == "0" ]; then
|
|
|
@ -244,6 +246,7 @@ if [ "$result" == "0" ]; then
|
|
|
|
if [ "$?" == "0" ]; then
|
|
|
|
if [ "$?" == "0" ]; then
|
|
|
|
svn=$(/usr/local/bin/svn info . | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
|
|
|
|
svn=$(/usr/local/bin/svn info . | grep '^Last Changed Rev' | cut -f 2 -d':' | tr -d ' ')
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
dow=$(date '+%w') # 0..6 day of the week
|
|
|
|
dow=$(date '+%w') # 0..6 day of the week
|
|
|
|
dom=$(date '+%d') # 1..31 day of the month
|
|
|
|
dom=$(date '+%d') # 1..31 day of the month
|
|
|
|
mon=$(date '+%m') # 1..12 month
|
|
|
|
mon=$(date '+%m') # 1..12 month
|
|
|
|