Don't use bashisms in post-build scripts

They're always run with /bin/sh and that doesn't always equal to bash
This commit is contained in:
JustArchi
2016-09-02 11:40:30 +02:00
parent 5f3a6d4c10
commit a25a181cd9
3 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@
copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-ConfigGenerator.exe"
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then
if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then
source "$(SolutionDir)mono_envsetup.sh"
fi