Browse Source

Changed autobuild (Linux) to use curl.

rude 16 years ago
parent
commit
fea48f421c
2 changed files with 4 additions and 5 deletions
  1. 1 1
      configure.in
  2. 3 4
      platform/unix/autobuild

+ 1 - 1
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])

+ 3 - 4
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