Improved build scripts.

The scripts now have more sensible names, and the code is better factored.
This commit is contained in:
Cas Cremers 2007-05-23 18:03:48 +02:00
parent 14b1e800c3
commit 057909d0c5
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
BUILDER=./build-arch-tag
# Check whether the tag exists # Check whether the tag exists
TAG=$1 TAG=$1
if [ "x$TAG" != "x" ] if [ "x$TAG" != "x" ]
@ -29,11 +31,11 @@ fi
OS=`uname -s` OS=`uname -s`
if [ "x$OS" = "xDarwin" ] if [ "x$OS" = "xDarwin" ]
then then
./gitdist.sh mac $TAG $BUILDER mac $TAG
elif [ "x$OS" = "xLinux" ] elif [ "x$OS" = "xLinux" ]
then then
./gitdist.sh linux $TAG $BUILDER linux $TAG
./gitdist.sh w32 $TAG $BUILDER w32 $TAG
else else
echo "Don't know architecture $OS, where am I?" echo "Don't know architecture $OS, where am I?"
exit exit