From 057909d0c5d29e4eb29621af6c609c4418d70473 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Wed, 23 May 2007 18:03:48 +0200 Subject: [PATCH] Improved build scripts. The scripts now have more sensible names, and the code is better factored. --- dist/{gitdist.sh => build-arch-tag} | 0 dist/{builddist.sh => releasescript} | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) rename dist/{gitdist.sh => build-arch-tag} (100%) rename dist/{builddist.sh => releasescript} (86%) diff --git a/dist/gitdist.sh b/dist/build-arch-tag similarity index 100% rename from dist/gitdist.sh rename to dist/build-arch-tag diff --git a/dist/builddist.sh b/dist/releasescript similarity index 86% rename from dist/builddist.sh rename to dist/releasescript index 2ab406f..3aff5ef 100755 --- a/dist/builddist.sh +++ b/dist/releasescript @@ -1,5 +1,7 @@ #!/bin/sh +BUILDER=./build-arch-tag + # Check whether the tag exists TAG=$1 if [ "x$TAG" != "x" ] @@ -29,11 +31,11 @@ fi OS=`uname -s` if [ "x$OS" = "xDarwin" ] then - ./gitdist.sh mac $TAG + $BUILDER mac $TAG elif [ "x$OS" = "xLinux" ] then - ./gitdist.sh linux $TAG - ./gitdist.sh w32 $TAG + $BUILDER linux $TAG + $BUILDER w32 $TAG else echo "Don't know architecture $OS, where am I?" exit