Wipe cache on clean; fix install typo

This commit is contained in:
Kevin Burke 2015-03-21 11:13:16 -07:00
parent 4f186ee2ee
commit 96beb5d174
2 changed files with 2 additions and 5 deletions

View file

@ -3,8 +3,5 @@
set -ev
sudo rm -rf /usr/local/cross-tools/i686-w64-mingw32
#rm -rf .cache
rm -rf .cache/*.patch
rm -rf .cache/SDL2-2.0.3
rm -rf .cache/i686-w64-mingw32-pkg-config
rm -rf .cache
rm -rf build

View file

@ -55,7 +55,7 @@ if [[ `uname` == "Darwin" ]]; then
if [[ ! -f $cachedir/$mingw_tar ]]; then
wget "https://downloads.sourceforge.net/project/mingw-w64/Toolchains targetting Win32/Automated Builds/$mingw_tar" --output-document $cachedir/$mingw_tar
fi
if [[ ! -d $ming_path ]]; then
if [[ ! -d "$mingw_path" ]]; then
pushd /usr/local/
sudo mkdir $mingw_name