trunk/ConsoleDataMigrationのリビジョン番号を埋め込むように

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@143 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-03-16 02:36:16 +00:00
parent 9ccbb0108b
commit b7837336dd
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash -f
echo "#define BACKUP_VERSION_NUM \"`svnversion -n`\"" > version.h
cd ../
echo "#define BACKUP_VERSION_NUM \"`svn info|grep 'Last Changed Rev:'| awk -F ':' '{print $2}'|tr -d '\n'| sed 's/ //g'`\"" > ./ConsoleBackup/version.h

View File

@ -1,3 +1,4 @@
#!/bin/bash -f
echo "#define RESTORE_VERSION_NUM \"`svnversion -n`\"" > version.h
cd ../
echo "#define RESTORE_VERSION_NUM \"`svn info|grep 'Last Changed Rev:'| awk -F ':' '{print $2}'|tr -d '\n'| sed 's/ //g'`\"" > ./ConsoleRestore/version.h