Skip to content

Commit

Permalink
Amended the downloadingRequiredDependencies() to skip downloading of …
Browse files Browse the repository at this point in the history
…Alsa, Freetype, and CaCerts when running the windows build
  • Loading branch information
neomatrix369 committed May 19, 2017
1 parent ac13d7f commit 685a937
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sbin/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,12 @@ checkingAndDownloadCaCerts()
downloadingRequiredDependencies()
{

echo "Downloading required dependencies...: Alsa, Freetype, and CaCerts."
checkingAndDownloadingAlsa
checkingAndDownloadingFreeType
checkingAndDownloadCaCerts
if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] ; then
echo "Windows or Windows-like environment detected, skipping downloading of dependencies...: Alsa, Freetype, and CaCerts."
else
echo "Downloading required dependencies...: Alsa, Freetype, and CaCerts."
checkingAndDownloadingAlsa
checkingAndDownloadingFreeType
checkingAndDownloadCaCerts
fi
}

0 comments on commit 685a937

Please sign in to comment.