Changeset 566 for trunk


Ignore:
Timestamp:
Oct 29, 2013, 5:23:27 PM (11 years ago)
Author:
cfuguet
Message:

Fixing incompatibility problem with the echo
command between linux and bsd for the version.sh
script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/version.sh

    r502 r566  
    88svnrev=$(svn info | awk -F: '$1 == "Last Changed Rev" {print $2}')
    99
    10 echo 'const char versionstr[]="'$n $v "($u@$h $t)" "(svn revision $svnrev)"'\n\r";'
     10printf "%s" \
     11   "const char versionstr[]=\"$n $v ($u@$h $t) (svn revision $svnrev)\n\r\";"
Note: See TracChangeset for help on using the changeset viewer.