Skip to content

Commit

Permalink
Update one more place to use version.c instead of version.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara committed Feb 3, 2019
1 parent a7f1365 commit bea81cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ build_native_projects()
if [ $__SkipConfigure == 0 ]; then
# if msbuild is not supported, then set __SkipGenerateVersion to 1
if [ $__isMSBuildOnNETCoreSupported == 0 ]; then __SkipGenerateVersion=1; fi
# Drop version.cpp file
__versionSourceFile="$intermediatesForBuild/version.cpp"
# Drop version.c file
__versionSourceFile="$intermediatesForBuild/version.c"
if [ $__SkipGenerateVersion == 0 ]; then
pwd
$__ProjectRoot/dotnet.sh msbuild /nologo /verbosity:minimal /clp:Summary \
Expand All @@ -484,7 +484,7 @@ build_native_projects()
/l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll\;LogFile=binclash.log \
$__CommonMSBuildArgs $__UnprocessedBuildArgs
else
# Generate the dummy version.cpp, but only if it didn't exist to make sure we don't trigger unnecessary rebuild
# Generate the dummy version.c, but only if it didn't exist to make sure we don't trigger unnecessary rebuild
__versionSourceLine="static char sccsid[] __attribute__((used)) = \"@(#)No version information produced\";"
if [ -e $__versionSourceFile ]; then
read existingVersionSourceLine < $__versionSourceFile
Expand Down

0 comments on commit bea81cd

Please sign in to comment.