1
0
Fork 0

Always good to test before committing. Fix some obvious problems.

This commit is contained in:
Curtis L. Olson 2011-11-14 15:54:20 -06:00
parent b45211509d
commit da2ffe5a03

View file

@ -1,7 +1,20 @@
#!/bin/sh
BASE="/home/curt/Projects/FlightGear/"
VERSION="2.5"
echo $1 $2
if [ "x$1" != "x" ]; then
BASE="$1"
else
BASE="/home/curt/Projects/FlightGear/"
fi
if [ "x$2" != "x" ]; then
VERSION="$2"
else
VERSION="2.5"
fi
echo base dir = $BASE, version = $VERSION
cd $BASE
@ -21,7 +34,7 @@ tar \
--exclude='*/Docs/source' \
--exclude='*/Models/MNUAV' \
--exclude='*/Models/Airspace' \
-cjvf FlightGear-data-$(VERSION).tar.bz2 \
-cjvf FlightGear-data-${VERSION}.tar.bz2 \
data/AI \
data/Aircraft/Generic \
data/Aircraft/Instruments \