Wed, 19 Dec 2012 20:06:00 +0100
distscript fix
#!/bin/sh PWD=`pwd` echo current workdir $PWD RELEASE=$1 RNAME="openslot-$RELEASE" RDIR="dist/$RNAME" DAT=`date` if (test -z $RELEASE); then echo "RELEASE parameter (e.g. 1.8) missing" exit fi cd $PWD/blackbox make clean cd $PWD/pitlane make clean cd $PWD/slotUI rm *.pyc cd $PWD rmdir -f dist mkdir -p $RDIR cp blackbox $RDIR cp pitlane $RDIR cp slotUI $RDIR echo -e "OpenSlot.de\nCustom Firmware and hardware mod\n\nPublic release version $RELEASE\n$DAT" > $RDIR/README cp LICENSE $RDIR cd $RDIR/slotUI rm -f quake-sound rm *.log rm *.trk* cd $PWD/dist tar -cz $RNAME/* >$RNAME.tar.gz ls -al