os2-buildbot.sh: Fix upload path.

This commit is contained in:
Ryan C. Gordon 2020-05-19 02:59:02 -04:00
parent a1d7410ff8
commit 20ed8019c9
1 changed files with 3 additions and 3 deletions

View File

@ -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