[pLog-svn] r6913 - plog/branches/lifetype-1.2/bin-devel

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Sep 9 13:52:17 EDT 2009


Author: jondaley
Date: 2009-09-09 13:52:17 -0400 (Wed, 09 Sep 2009)
New Revision: 6913

Modified:
   plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh
Log:
sourceforge changed their upload procedure again.  Though this one no longer requires a web login, so that's nice.  Though I can't access it via the shell, like I am supposed to be able to

Modified: plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh	2009-09-09 15:22:21 UTC (rev 6912)
+++ plog/branches/lifetype-1.2/bin-devel/build-plugin-local.sh	2009-09-09 17:52:17 UTC (rev 6913)
@@ -93,16 +93,8 @@
 fi
 
 if [ "$UPLOAD" != "" ]; then
-  # upload the package.  Linux ftp (at least my version,
-  # doesn't have the -a command,
-  # but I can use curl to do the same thing.
-  if [ `uname` == "Linux" ]; then
-    curl --upload-file ${CURFOLDER}/${VERSION}_${NAME}.zip -u $UPLOAD sftp://frs.sourceforge.net/~/uploads/
-  else
-# I think only oscar used this - he'll need to fix it
-#    ftp -a -u ftp://upload.sourceforge.net/incoming/${VERSION}_${NAME}.zip ${CURFOLDER}/${VERSION}_${NAME}.zip
-    echo "fix me.  Sourceforge changed how they do uploads"
-  fi
+  # upload the package.
+  scp ${CURFOLDER}/${VERSION}_${NAME}.zip ${UPLOAD},lifetype at frs.sourceforge.net:/home/frs/project/l/li/lifetype/lifetype-${TYPE}s/lifetype-${VERSION}/${VERSION}_${NAME}.zip
 fi
 
 message "Done!"



More information about the pLog-svn mailing list