Ignore:
Timestamp:
May 26, 2014, 9:41:05 AM (10 years ago)
Author:
cfuguet
Message:

tsar_boot:

  • Fixing bug introduced in commit r688. Missing double quotes while calling echo command. The SVN revision was not correctly taken because of this.
  • Renaming version in VERSION. Convention: Text files name is in capital letters.
File:
1 edited

Legend:

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

    r688 r702  
    22
    33n="tsarboot"
    4 v=$(cat version)
     4v=$(cat VERSION)
    55t=$(date)
    66u=${USER-root}
     
    88
    99reporev=$(svn info 2>/dev/null)
    10 if [ $? -eq 0 ]
     10if [ $? -eq 0 ];
    1111then
    1212    repotype="svn"
    13     reporev=$(echo $reporev | awk -F: '$1 == "Last Changed Rev" {print $2}')
     13    reporev=$(echo "$reporev" | awk -F: '$1 == "Last Changed Rev" {print $2}')
    1414else
    1515    repotype="git"
Note: See TracChangeset for help on using the changeset viewer.