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...)
 
Line 1: Line 1:
 
When attempting to run this script I get the following:
 
When attempting to run this script I get the following:
# bash revtag.sh
+
<nowiki>#</nowiki> bash revtag.sh
 
revtag.sh: line 3: syntax error near unexpected token `('
 
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 '
 
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.

Revision as of 12:42, 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