renamed to update_revision
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 16 Jan 2010 08:07:09 +0000 (08:07 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 16 Jan 2010 08:07:09 +0000 (08:07 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@126 01035d8c-6547-0410-b346-abe4f91aad63

easy-asterisk-gui/cgi-bin/about.sh
easy-asterisk-gui/update_revision.sh [new file with mode: 0755]
easy-asterisk-gui/update_version.sh [deleted file]

index 2d804ec7dfd624c3fdc5fc7b6b10af362e374809..82ea416ba635433e9ed6de6d07448856bf45c55c 100644 (file)
@@ -40,7 +40,7 @@ cat <<EOF
     <table align="right" width=600>
       <tr><td align="left" valign="top"><h2>About</h2></td></tr>
 EOF
-echo '      <tr><td><strong>Easy Asterisk</strong> Revision: 12</td></tr> '
+echo '      <tr><td><strong>Easy Asterisk</strong> Revision: 124</td></tr> '
 echo '      <tr><td>&nbsp;</td></tr>'
 echo '      <tr><td>Brought to you by the <a href="http://rowetel.com/ucasterisk/index.html">Free Telephony Project</a></td></tr>'
 echo '      <tr><td><a href="http://rowetel.com/ucasterisk/ip04.html"><img src="http://rowetel.com/images/ip04/ip04_case.jpg" border="0" /></a></td></tr>'
diff --git a/easy-asterisk-gui/update_revision.sh b/easy-asterisk-gui/update_revision.sh
new file mode 100755 (executable)
index 0000000..19dbf74
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh -x
+# update_revision.sh
+#
+# Sets correct Revision number in the about screen.  Good idea to
+# run this before installing
+
+ver=`svn info | grep Revision`
+sed -i "s/Revision: [0-9]*/$ver/" cgi-bin/about.sh
diff --git a/easy-asterisk-gui/update_version.sh b/easy-asterisk-gui/update_version.sh
deleted file mode 100644 (file)
index a3ddab9..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-# update_revision.sh
-#
-# Sets correct Revision number in the about screen.  Good idea to
-# run this before installing
-
-ver=`svn info | grep Revision`
-sed -i "s/Revision: ([0-9]*)/$ver/" $(EASY_SITE)/cgi-bin/about.sh