emscripten-buildbot.sh: Leave files in the right place, don't nuke build dir.

This commit is contained in:
Ryan C. Gordon 2020-05-18 20:02:11 -04:00
parent 5358882b10
commit b0f41e1421

View file

@ -67,9 +67,8 @@ emmake $MAKE install || exit $?
perl -w -pi -e "s#$PWD/emscripten-sdl2-installed#/usr/local#g;" ./emscripten-sdl2-installed/lib/libSDL2.la ./emscripten-sdl2-installed/lib/pkgconfig/sdl2.pc ./emscripten-sdl2-installed/bin/sdl2-config
mkdir -p ./usr
mv ./emscripten-sdl2-installed ./usr/local
tar -cJvvf $TARBALL usr
popd
tar -cJvvf $TARBALL -C buildbot usr
rm -rf buildbot
exit 0