mirror of https://github.com/encounter/SDL.git
os2-buildbot.sh: Fix upload path.
This commit is contained in:
parent
a1d7410ff8
commit
20ed8019c9
|
@ -19,7 +19,7 @@ ZIPFILE="$1"
|
||||||
if [ -z $1 ]; then
|
if [ -z $1 ]; then
|
||||||
ZIPFILE=sdl-os2.zip
|
ZIPFILE=sdl-os2.zip
|
||||||
fi
|
fi
|
||||||
ZIPDIR=buildbot
|
ZIPDIR=buildbot/SDL
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
@ -30,11 +30,11 @@ cd ..
|
||||||
rm -f $ZIPFILE
|
rm -f $ZIPFILE
|
||||||
wmake -f Makefile.os2
|
wmake -f Makefile.os2
|
||||||
rm -rf $ZIPDIR
|
rm -rf $ZIPDIR
|
||||||
mkdir $ZIPDIR
|
mkdir -p $ZIPDIR
|
||||||
chmod a+r SDL2.lib SDL2.dll
|
chmod a+r SDL2.lib SDL2.dll
|
||||||
mv SDL2.lib SDL2.dll $ZIPDIR/
|
mv SDL2.lib SDL2.dll $ZIPDIR/
|
||||||
cp -R include $ZIPDIR/
|
cp -R include $ZIPDIR/
|
||||||
zip -9r "$ZIPFILE" $ZIPDIR
|
zip -9r "buildbot/$ZIPFILE" $ZIPDIR
|
||||||
|
|
||||||
wmake -f Makefile.os2 distclean
|
wmake -f Makefile.os2 distclean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue