summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot5
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 71c8395..92a3032 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -34,9 +34,10 @@ for rev; do
tag=
case "$rev" in
trunk | branches/* | tags/*)
- url=$SVNURL/rev;;
+ url=$SVNURL/$rev;;
stable)
- url=$SVNURL/brances/$(svn ls $SVNURL/branches | grep '^ruby_[0-9]_[0-9]/' | tail -1);;
+ url=$SVNURL/branches
+ url=/$(svn ls $url | grep '^ruby_[0-9]_[0-9]/' | tail -1);;
*.*.*-p* | *.*.*-*)
tag=${rev##*-}; url=${rev/-p/_}; url=${url/-/_}; url=$SVNURL/tags/v${url//./_};;
*.*)