Last change
on this file since 670 was
566,
checked in by cfuguet, 11 years ago
|
Fixing incompatibility problem with the echo
command between linux and bsd for the version.sh
script
|
-
Property svn:executable set to
*
|
File size:
240 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | n="tsarboot" |
---|
4 | v=$(cat version) |
---|
5 | t=$(date) |
---|
6 | u=${USER-root} |
---|
7 | h=$(hostname) |
---|
8 | svnrev=$(svn info | awk -F: '$1 == "Last Changed Rev" {print $2}') |
---|
9 | |
---|
10 | printf "%s" \ |
---|
11 | "const char versionstr[]=\"$n $v ($u@$h $t) (svn revision $svnrev)\n\r\";" |
---|
Note: See
TracBrowser
for help on using the repository browser.