We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9acf8a8 commit e755556Copy full SHA for e755556
1 file changed
build-devkit.sh
@@ -100,10 +100,10 @@ INSTALLDIR=/opt/devkitpro
100
101
[ ! -z "$INSTALLDIR" ] && mkdir -p $INSTALLDIR && touch $INSTALLDIR/nonexistantfile && rm $INSTALLDIR/nonexistantfile || exit 1;
102
103
-if test "`curl -V`"; then
+if test "`wget -V`"; then
104
+ FETCH='wget -U "dkp-buildscript"'
105
+elif test "`curl -V`"; then
106
FETCH="curl -f -L -O"
-elif test "`wget -V`"; then
- FETCH=wget
107
else
108
echo "ERROR: Please make sure you have wget or curl installed."
109
exit 1
0 commit comments