| 
                Last change
                  on this file since 724 was
                  724,
                  checked in by cfuguet, 11 years ago
           | 
        
        
          | 
               
branches/fault_tolerance: 
 
- Recreating fault_tolerance branch with all new modifications from
trunk.
 
 - Introducing distributed boot rom in the tsar_generic_iob platform
  
           | 
        
        
          
            
              - 
                  Property svn:executable set to
                  
*
               
             
           | 
        
        | 
            File size:
            394 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | #!/bin/sh | 
|---|
| 2 |  | 
|---|
| 3 | n="tsarboot" | 
|---|
| 4 | v=$(cat VERSION) | 
|---|
| 5 | t=$(date) | 
|---|
| 6 | u=${USER-root} | 
|---|
| 7 | h=$(hostname) | 
|---|
| 8 |  | 
|---|
| 9 | reporev=$(svn info 2>/dev/null) | 
|---|
| 10 | if [ $? -eq 0 ]; | 
|---|
| 11 | then | 
|---|
| 12 |     repotype="svn" | 
|---|
| 13 |     reporev=$(echo "$reporev" | awk -F: '$1 == "Last Changed Rev" {print $2}') | 
|---|
| 14 | else | 
|---|
| 15 |     repotype="git" | 
|---|
| 16 |     reporev=$(git rev-parse HEAD) | 
|---|
| 17 | fi | 
|---|
| 18 |  | 
|---|
| 19 | printf "%s" \ | 
|---|
| 20 |    "const char versionstr[]=\"$n $v ($u@$h $t) ($repotype revision $reporev)\n\r\";" | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.