[svn-commits] kpfleming: linux-complete/trunk r5589 - /linux-complete/trunk/build_tools/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Dec 18 08:21:56 CST 2008


Author: kpfleming
Date: Thu Dec 18 08:21:55 2008
New Revision: 5589

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5589
Log:
add a script to replace svn:externals references during release creation. the mkrelease script will call prep_tag and pass it the linux-complete tag string (two tags separated by '+') and the proper paths to dahdi-linux and dahdi-tools will be computed and used as the external paths.


Added:
    linux-complete/trunk/build_tools/
    linux-complete/trunk/build_tools/prep_tag   (with props)

Added: linux-complete/trunk/build_tools/prep_tag
URL: http://svn.digium.com/view/dahdi/linux-complete/trunk/build_tools/prep_tag?view=auto&rev=5589
==============================================================================
--- linux-complete/trunk/build_tools/prep_tag (added)
+++ linux-complete/trunk/build_tools/prep_tag Thu Dec 18 08:21:55 2008
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+LTAG=${1%+*}
+TTAG=${1#*+}
+cat <<EOF > .newprop
+linux	https://origsvn.digium.com/svn/dahdi/linux/tags/${LTAG}
+tools	https://origsvn.digium.com/svn/dahdi/tools/tags/${TTAG}
+EOF
+svn ps svn:externals --file .newprop .
+rm -f .newprop

Propchange: linux-complete/trunk/build_tools/prep_tag
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: linux-complete/trunk/build_tools/prep_tag
------------------------------------------------------------------------------
    svn:executable = *

Propchange: linux-complete/trunk/build_tools/prep_tag
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: linux-complete/trunk/build_tools/prep_tag
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list