Skip to content

Commit a43d303

Browse files
committed
use curl everywhere to run out of the box on Mac
1 parent 8a514ee commit a43d303

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packaging/osx/buildpackage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ -e "OpenRA.app" ]; then
1414
exit 2
1515
fi
1616

17-
wget https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/launcher.zip || exit 3
17+
curl -s -L -O https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/launcher.zip || exit 3
1818
unzip launcher.zip
1919
rm launcher.zip
2020

packaging/package-all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ make package
2222
find . -path "*.mdb" -delete
2323

2424
test -e Changelog.md && rm Changelog.md
25-
wget https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
25+
curl -s -L -O https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
2626

27-
wget http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip
27+
curl -s -L -O http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip
2828
unzip Markdown_1.0.1.zip
2929
rm -rf Markdown_1.0.1.zip
3030
./Markdown_1.0.1/Markdown.pl Changelog.md > CHANGELOG.html

thirdparty/fetch-thirdparty-deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ fi
7575

7676
if [ ! -f SDL2-CS.dll ]; then
7777
echo "Fetching SDL2-CS from GitHub."
78-
wget https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll
78+
curl -s -L -O https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll
7979
fi
8080

8181
if [ ! -f Eluant.dll ]; then
8282
echo "Fetching Eluant from GitHub."
83-
wget https://github.com/OpenRA/Eluant/releases/download/20140425/Eluant.dll
83+
curl -s -L -O https://github.com/OpenRA/Eluant/releases/download/20140425/Eluant.dll
8484
fi

0 commit comments

Comments
 (0)