diff options
Diffstat (limited to 'release')
-rwxr-xr-x | release/release.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh index c419d59..b742829 100755 --- a/release/release.sh +++ b/release/release.sh @@ -107,6 +107,16 @@ while getopts c: opt; do done shift $(($OPTIND - 1)) +# Fix for backwards-compatibility with release.conf that does not have the +# trailing '/'. +case ${SVNROOT} in + *svn*) + SVNROOT="${SVNROOT}/" + ;; + *) + ;; +esac + # Prefix the branches with the SVNROOT for the full checkout URL. SRCBRANCH="${SVNROOT}${SRCBRANCH}" DOCBRANCH="${SVNROOT}${DOCBRANCH}" |