jlyons: branch asterisknow r250 - /branches/asterisknow/build_tools/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Fri Jan 12 17:58:15 MST 2007
Author: jlyons
Date: Fri Jan 12 18:58:14 2007
New Revision: 250
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=250
Log:
Add script that writes svn rev number to astman.js
Added:
branches/asterisknow/build_tools/write_svn_rev (with props)
Added: branches/asterisknow/build_tools/write_svn_rev
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/build_tools/write_svn_rev?view=auto&rev=250
==============================================================================
--- branches/asterisknow/build_tools/write_svn_rev (added)
+++ branches/asterisknow/build_tools/write_svn_rev Fri Jan 12 18:58:14 2007
@@ -1,0 +1,9 @@
+#!/bin/sh
+
+if [ -f ${1}/.version ]; then
+ cat ${1}/.version
+elif [ -d .svn ]; then
+ REV=`svnversion -c . | cut -d: -f2`
+ echo $REV
+ sed -i -e "s/Revision: .../Revision: ${REV}/g" config/scripts/astman.js
+fi
Propchange: branches/asterisknow/build_tools/write_svn_rev
------------------------------------------------------------------------------
svn:executable = *
More information about the asterisk-gui-commits
mailing list