From: Alessandro P. (T. / J578) <al...@ti...> - 2002-05-16 13:59:36
|
On Thu, 2002-05-16 at 14:58, Bob T wrote: > Did you preserve the ability to run it in test mode and skip the > tarring? It looks to me like the "test" parameter will not work > with the -win32 parameter, because the "mode" is assumed to be > parameter two. In case you haven't used it, the "test" parameter > prevents the creation of the tar file, so all you have to do is move > the directory, without untarring. if you check the code you may notice this: if [ "$1" - "-win32" ]; then ... do things ... shift 1 please note the "shift 1" line: it will make things become as the -win32 parameter was never given, making the 2nd argument become the first and so on; so, yes, your "test" option is preserved. please *always* look at code before, instead of starting thinking changes I do are breaking things (as you *usually* do with me). Alessandro -- Alessandro "TXM" Pisani - alextxm at tin dot it - ICQ: #2209087 "I will carry you through, kicking and screaming, and in the end you will thank me" - Tyler Durden [from "Fight Club"] |