Changed autobuild (Linux) to use curl.

This commit is contained in:
rude
2009-09-05 16:09:00 +02:00
parent a3cd1e67bc
commit fea48f421c
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -125,10 +125,9 @@ cp ../../src/love $binary
# Deal with uploading.
if [ "$1" == "build" ]; then
pass=`cat pwtehlol`
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $deb
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $tar
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $binary
curl -F build=@$deb -F press=ok http://love2d.org/builds/upload.php?upload
curl -F build=@$tar -F press=ok http://love2d.org/builds/upload.php?upload
curl -F build=@$binary -F press=ok http://love2d.org/builds/upload.php?upload
fi
if [ "$1" == "release" ]; then