Last change
on this file since 3055 was 3054, checked in by Kana Sugimoto, 9 years ago |
New Development: Yes
JIRA Issue: No
Ready for Test: Yes
Interface Changes: No
What Interface Changed:
Test Programs: build asap using CMake
Put in Release Notes: No
Module(s): build of asap by CMake
Description: Committing the changes sent by Ville to support git migration
|
-
Property svn:executable
set to
*
|
File size:
467 bytes
|
Rev | Line | |
---|
[3054] | 1 | #! /bin/bash
|
---|
| 2 |
|
---|
| 3 | # Tack dummy values in svninfo.txt
|
---|
| 4 | OUT=python/svninfo.txt
|
---|
| 5 | SRCVER="1"
|
---|
| 6 | HTTPS="git"
|
---|
| 7 | echo "$HTTPS" > $OUT
|
---|
| 8 | echo "$SRCVER" >> $OUT
|
---|
| 9 | date "+%b %d %Y, %H:%M:%S" >> $OUT
|
---|
| 10 |
|
---|
| 11 | # Replace svn $date$ witg current date in __init__.py
|
---|
| 12 | dat=`date`
|
---|
| 13 | INITPY=python/__init__.py
|
---|
| 14 | sed s/\\\'\\\$Date\\\$\\\'\\\.split\(\)\\\[1\\\]/replacethisstring/g $INITPY > tmpinit.txt
|
---|
| 15 | sed "s/replacethisstring/\"$dat\"/g" tmpinit.txt > tmpinitmodified.txt
|
---|
| 16 | mv tmpinitmodified.txt $INITPY
|
---|
| 17 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.