build-scripts/raspberrypi-buildbot.sh
changeset 7800 76e4b6825efc
parent 7798 795fc221d417
child 7805 4f0f7b64afa5
     1.1 --- a/build-scripts/raspberrypi-buildbot.sh	Thu Oct 10 02:21:41 2013 -0400
     1.2 +++ b/build-scripts/raspberrypi-buildbot.sh	Thu Oct 10 02:37:36 2013 -0400
     1.3 @@ -10,7 +10,10 @@
     1.4  #  build against it, and sdl2-config should work correctly on the
     1.5  #  actual device.
     1.6  
     1.7 -TARBALL=sdl-raspberrypi-`hg tip --template '{rev}'`.tar.bz2
     1.8 +TARBALL="$1"
     1.9 +if [ -z $1 ]; then
    1.10 +    TARBALL=sdl-raspberrypi.tar.bz2
    1.11 +fi
    1.12  
    1.13  OSTYPE=`uname -s`
    1.14  if [ "$OSTYPE" != "Linux" ]; then
    1.15 @@ -45,8 +48,8 @@
    1.16  mkdir -p ./usr
    1.17  mv ./rpi-sdl2-installed ./usr/local
    1.18  
    1.19 -tar -cjvvf $PARENTDIR/$TARBALL usr
    1.20  popd
    1.21 +tar -cjvvf $TARBALL -C $BUILDBOTDIR usr
    1.22  rm -rf $BUILDBOTDIR
    1.23  
    1.24  set +x