[pLog-svn] r2330 - plugins/trunk/bin
Jon Daley
plogworld at jon.limedaley.com
Thu Jul 14 20:30:57 GMT 2005
What is -a and -u supposed to do?
On Thu, 14 Jul 2005 oscar at devel.plogworld.net wrote:
> Author: oscar
> Date: 2005-07-14 20:03:02 +0000 (Thu, 14 Jul 2005)
> New Revision: 2330
>
> Modified:
> plugins/trunk/bin/build.sh
> Log:
> added some code to automatically upload .zip packages to sf.net. It works well with OSX's ftp client
> (derived from BSD I think) but I am not sure about GNU's ftp client... Let me know whether it works or not
> if you use this feature.
>
>
> Modified: plugins/trunk/bin/build.sh
> ===================================================================
> --- plugins/trunk/bin/build.sh 2005-07-14 20:01:30 UTC (rev 2329)
> +++ plugins/trunk/bin/build.sh 2005-07-14 20:03:02 UTC (rev 2330)
> @@ -78,11 +78,15 @@
> cd $TMPFOLDER
> message "Creating ZIP package..."
> if [ $TEMPLATENAME == "all" ]; then
> - zip -r ${CURFOLDER}/_all_plugins.zip *
> + zip -r ${CURFOLDER}/_all_plugins.zip
> + TEMPLATENAME=_all_plugins
> else
> zip -r ${CURFOLDER}/${TEMPLATENAME}.zip ${TEMPLATENAME}/
> fi
>
> +# upload the package -- works with OS X's ftp client... no guarantee about Linux!
> +ftp -a -u ftp://upload.sourceforge.net/incoming/${TEMPLATENAME}.zip ${TEMPLATENAME}.zip
> +
> message "Done!"
>
> # cleanup
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
**************************************************************
* * No idea that sits in your *
* Jon Daley * head is there rent free. If *
* * the idea is not "useful", get *
* http://jon.limedaley.com/ * rid of it. *
* * -- Dr. Richard Farmer *
**************************************************************
More information about the pLog-svn
mailing list