Browse Source

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

Ryan C. Gordon 4 years ago
parent
commit
b0f41e1421
1 changed files with 1 additions and 2 deletions
  1. 1 2
      build-scripts/emscripten-buildbot.sh

+ 1 - 2
build-scripts/emscripten-buildbot.sh

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