From fea48f421cefaf730a32fe53de635dd5c3270444 Mon Sep 17 00:00:00 2001 From: rude Date: Sat, 5 Sep 2009 16:09:00 +0200 Subject: [PATCH] Changed autobuild (Linux) to use curl. --- configure.in | 2 +- platform/unix/autobuild | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 09a2d3756..3e0d87d0e 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT([love], [20090831-cb0095a0fc04]) +AC_INIT([love], [20090904-513ad0afed0c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([platform/unix]) AC_CONFIG_MACRO_DIR([platform/unix/m4]) diff --git a/platform/unix/autobuild b/platform/unix/autobuild index bc2f56dc3..df92b2293 100755 --- a/platform/unix/autobuild +++ b/platform/unix/autobuild @@ -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