r633 - /scripts/export-boinc
fst-guest at users.alioth.debian.org
fst-guest at users.alioth.debian.org
Mon Apr 23 07:53:55 UTC 2007
Author: fst-guest
Date: Mon Apr 23 07:53:53 2007
New Revision: 633
URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=633
Log:
The tags URL for >= 5.9.4 changed.
Modified:
scripts/export-boinc
Modified: scripts/export-boinc
URL: http://svn.debian.org/wsvn/pkg-boinc/scripts/export-boinc?rev=633&op=diff
==============================================================================
--- scripts/export-boinc (original)
+++ scripts/export-boinc Mon Apr 23 07:53:53 2007
@@ -43,8 +43,12 @@
DEBIAN_VERSION="$VERSION"
ORIG_DIR="boinc-$DEBIAN_VERSION.orig"
if [ "$VERSION" != "HEAD" ]; then
- SVN_VERSION=$(echo $VERSION | sed 's/\./_/g')
- SVN_DIR="tags/boinc_core_release_$SVN_VERSION/boinc"
+ SVN_VERSION=$(echo $VERSION | tr '.' '_')
+ if [ $(echo $VERSION | tr -c -d '[:digit:]') -ge 594 ]; then
+ SVN_DIR="tags/boinc_core_release_$SVN_VERSION"
+ else
+ SVN_DIR="tags/boinc_core_release_$SVN_VERSION/boinc"
+ fi
fi
SVN_COMMAND="svn export $SVN_ROOT/$SVN_DIR $ORIG_DIR"
More information about the pkg-boinc-commits
mailing list