enable building just the unicode version, or both unicode and ansi

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-13 02:40:46 +00:00
parent 8cbbb5d41b
commit f5ed42f875
8 changed files with 95 additions and 59 deletions

View File

@@ -12,12 +12,21 @@ flags=$4
if [ $skiposx != yes ]; then
# test if the target machine is online
if ping -q -c1 -w1 $host > /dev/null; then
echo " The $host machine is online, OSX build continuing..."
echo "The $host machine is online, OSX build continuing..."
else
echo "The $host machine is **OFFLINE**, skipping the OSX build."
exit 0
fi
if [ $chartype == ansi -a $buildansi == no ]; then
echo "Skipping ansi-only build host"
exit 0
fi
if [ $chartype == both -a $buildansi == no ]; then
chartype=unicode
fi
echo "Copying source files and build script..."
ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"