summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-23 19:50:49 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-23 19:50:49 +0000
commitb8b7e30d8fccba29d4f0a080f14d883d9fb125bd (patch)
treeaa84e848411f897889aae3a294d9952abc901767 /bin
parent577c5adc1006a8af6d85cfd4eb2de5c6da0da56f (diff)
update release script
Original commit message from CVS: update release script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/new-release14
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/new-release b/bin/new-release
index 4ffc4197..7f2c7966 100755
--- a/bin/new-release
+++ b/bin/new-release
@@ -4,7 +4,7 @@ module=$1
shift
version=$1
shift
-moduledir=$1
+modulebasedir=$1
shift
name="$*"
@@ -20,9 +20,9 @@ then
exit 1
fi
-if test -z $moduledir
+if test -z $modulebasedir
then
- echo Please specify a module dir
+ echo "Please specify a module base dir (root of your checkout)"
exit 1
fi
@@ -32,6 +32,14 @@ then
exit 1
fi
+if test ! -d $modulebasedir/gstreamer
+then
+ echo $modulebasedir does not contain a "gstreamer" directory
+ exit 1
+fi
+
+moduledir=$modulebasedir/$module
+
echo "Updating CVS"
pushd $moduledir > /dev/null 2>&1
cvs up