From a25a181cd99868483f19311609214dc59d2cfb07 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 2 Sep 2016 11:40:30 +0200 Subject: [PATCH] Don't use bashisms in post-build scripts They're always run with /bin/sh and that doesn't always equal to bash --- ArchiSteamFarm/ArchiSteamFarm.csproj | 2 +- ConfigGenerator/ConfigGenerator.csproj | 2 +- GUI/GUI.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 528c431d2..d62ce9ddf 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -188,7 +188,7 @@ copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF.exe" - if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then + if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then source "$(SolutionDir)mono_envsetup.sh" fi diff --git a/ConfigGenerator/ConfigGenerator.csproj b/ConfigGenerator/ConfigGenerator.csproj index a969f1eda..6cb5b32ba 100644 --- a/ConfigGenerator/ConfigGenerator.csproj +++ b/ConfigGenerator/ConfigGenerator.csproj @@ -123,7 +123,7 @@ copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-ConfigGenerator.exe" - if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then + if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then source "$(SolutionDir)mono_envsetup.sh" fi diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index de7143541..570633b2b 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -208,7 +208,7 @@ copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-GUI.exe" - if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then + if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then source "$(SolutionDir)mono_envsetup.sh" fi