[wp-hackers] Directory Name When Unpacking
Matthew Mullenweg
m at mullenweg.com
Tue Oct 19 19:21:56 UTC 2004
Tor Bjornrud wrote:
> It would safer to unpack to a directory like 'wordpress-1.2.1' this
> way the default is to unpack to a non-existent directory, avoiding any
> collisions.
I'll try to remember to do this for the next release. Our automatic
build scripts don't do anything fancy like that right now. Of course
they could probably be a lot better.
Here's what I'm using now:
alias nightly='cd /home/wordpres/public_html/nightly/make;export
CVS_RSH=ssh ; cvs -d:ext:saxmatt at cvs.sourceforge.net:/cvsroot/cafelog
export -Dtomorrow wordpress ; zip -R -9
/home/wordpres/public_html/nightly/wordpress-`date +%Y-%m-%d`.zip
wordpress/ ; tar czvf /home/wordpres/public_html/nightly/wordpress-`date
+%Y-%m-%d`.tar.gz wordpress/; rm -Rf wordpress'
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://mobiusltd.com
More information about the hackers
mailing list