Am Freitag, 19. Juli 2002 09:12 schrieb Anton Rolls: > I got it to work by jumping into the > slashdot-viewer/ directory that it creates > and doing the viewers. Nice stuff. > > By the way, I would suggest to create the > directory in the public cache, not in the > current directory. > If some idiot like me runs the script from > the console, all your files end up in the > current directory, wherever that might be. > > This example creates the directory in the public cache: > > site: http://www.stuff.mynetcologne.de/reb/slashdot/ > make-dir/deep public-dir: path-thru site/slashdot-viewer > > ; Now save & access your files in public-dir. > > This has the advantage that the script is always certain where > the slash-viewer/ directory is. >
Hmm, usually a script cd's to its own directory, and our script makes a sub-directory there. so the unpack-directory should be where the packed script is. have you hit an exception? > > Oh, of course, by default, 'cp is an alias of 'copy, in > rebol, so as I have redefined 'cp it broke the script. > I didn't see many people using 'cp until now. > its 2 chars shorter. i always forgot to copy blocks, until a changed to 'cp for this initialize-stuff. also i like the difference between 'copy as "make a copy" and 'cp as "make something new". maybe i should really switch to [new: :copy] if people use 'cp like you? > Regards, > > Anton. > -Volker -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
