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
+1 -1
View File
@@ -1,4 +1,4 @@
AC_INIT([love], [20090831-cb0095a0fc04]) AC_INIT([love], [20090904-513ad0afed0c])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([platform/unix]) AC_CONFIG_AUX_DIR([platform/unix])
AC_CONFIG_MACRO_DIR([platform/unix/m4]) AC_CONFIG_MACRO_DIR([platform/unix/m4])
+3 -4
View File
@@ -125,10 +125,9 @@ cp ../../src/love $binary
# Deal with uploading. # Deal with uploading.
if [ "$1" == "build" ]; then if [ "$1" == "build" ]; then
pass=`cat pwtehlol` curl -F build=@$deb -F press=ok http://love2d.org/builds/upload.php?upload
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $deb curl -F build=@$tar -F press=ok http://love2d.org/builds/upload.php?upload
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $tar curl -F build=@$binary -F press=ok http://love2d.org/builds/upload.php?upload
ftp-upload -u tehloejc --password $pass -h tehlol.com -d public_html/love2d/builds/ $binary
fi fi
if [ "$1" == "release" ]; then if [ "$1" == "release" ]; then