Talk:Show git version numbers - Linux

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: When attempting to run this script I get the following: # bash revtag.sh revtag.sh: line 3: syntax error near unexpected token `(' revtag.sh: line 3: `git log -n 1 --decorate --oneline | s...)
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
When attempting to run this script I get the following:
+
When attempting to run this script I get the following:<br>
# bash revtag.sh
+
<nowiki>#</nowiki> bash revtag.sh<br>
revtag.sh: line 3: syntax error near unexpected token `('
+
revtag.sh: line 3: syntax error near unexpected token `('<br>
 
revtag.sh: line 3: `git log -n 1 --decorate --oneline | sed -e s/,.*$//' -e 's,(r/,- r,'` > bin/.version '
 
revtag.sh: line 3: `git log -n 1 --decorate --oneline | sed -e s/,.*$//' -e 's,(r/,- r,'` > bin/.version '
  
 
Just wanted to make sure the script was copied to the wiki correctly and I wasn't missing something.
 
Just wanted to make sure the script was copied to the wiki correctly and I wasn't missing something.

Latest revision as of 12:43, 28 November 2009

When attempting to run this script I get the following:
# bash revtag.sh
revtag.sh: line 3: syntax error near unexpected token `('
revtag.sh: line 3: `git log -n 1 --decorate --oneline | sed -e s/,.*$//' -e 's,(r/,- r,'` > bin/.version '

Just wanted to make sure the script was copied to the wiki correctly and I wasn't missing something.

Personal tools
General
About This Wiki