Changeset 8600 for trunk/sources/PreBuildEvent.sh
- Timestamp:
- 09/07/12 16:26:07 (12 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/PreBuildEvent.sh
r8588 r8600 2 2 export PluginFile=$ProjectDir/Plugin.cs.frame 3 3 4 if [ -f $AIFile ]; 5 then 6 $SolutionDir/svnwcrev $ProjectDir $AIFile $ProjectDir/Properties/AssemblyInfo.cs 4 command_exists () { 5 type "$1" &> /dev/null ; 6 } 7 8 if command_exists svnwcrev ; then 9 if [ -f $AIFile ]; 10 then 11 svnwcrev $ProjectDir $AIFile $ProjectDir/Properties/AssemblyInfo.cs 12 fi 13 14 if [ -f $PluginFile ]; 15 then 16 svnwcrev $ProjectDir $PluginFile $ProjectDir/Plugin.cs 17 fi 18 else 19 if [ -f $AIFile ]; 20 then 21 sed 's/\$WCREV\$/'0'/g' $AIFile > $ProjectDir/Properties/AssemblyInfo.cs 22 fi 23 24 if [ -f $PluginFile ]; 25 then 26 sed 's/\$WCREV\$/'0'/g' $PluginFile > $ProjectDir/Plugin.cs 27 fi 7 28 fi 8 9 if [ -f $PluginFile ];10 then11 $SolutionDir/svnwcrev $ProjectDir $PluginFile $ProjectDir/Plugin.cs12 fi
Note: See TracChangeset
for help on using the changeset viewer.