mkdir $WORKSPACE/build
cd $WORKSPACE/build
+# This is for Windows:
+PATH="$WORKSPACE/build/lib:$PATH"
+
if test "$(uname -o)" != "Msys"; then
echo "XX"
echo "XX Build the archive out of the tree"
echo "XX"
echo "XX Open the resulting archive"
echo "XX"
- tar xzf `cat VERSION`.tar.gz
+ gunzip `cat VERSION`.tar.gz
+ tar xf `cat VERSION`.tar
cd `cat VERSION`
- SRCFOLDER="."
+ mkdir build
+ cd build
+ SRCFOLDER=".."
else
#for windows we don't make dist, but we still want to build out of source
SRCFOLDER=$WORKSPACE
if test "$(uname -o)" != "Msys"; then
cd $WORKSPACE/build
- cd `cat VERSION`
+ cd `cat VERSION`/build
fi
TRES=0