Marco Gaiarin schrieb: > Some times ago i've asked for a WPKG.js wrapper (in JS) that can run the > real wpkg.js only if the 'client' belong to exactly one of our office > branch. > > Practically, i've setup common configuration within 3 branch, where > servers, share, ... have the same names/alias and so i can buld the > same configuration and simply copy around. > But clearly not *exactly* the same, so some portable system when moved > got some package continuously installed/uninstalled. > > With the aide of this list i've built the script attached (my JS > knowledge approx zero...), where substantially i rebuild the command > line, run the wpkg.js script and reapup stdout and stderr and copy them > out. > > Now i've looked at the 64/32 bit wrapper script, and see no things like > that (and really this feel strange to me, normally stdout go to stdout > and stderr to stderr, why reapup and re-copy them?). The file is so small you may well attach it (or paste) as plain text - otherwise, having to save and unpack it is boring. Incidentally, wouldn't it be something similar to this non-existent feature? http://lists.wpkg.org/pipermail/wpkg-users/2008-April/thread.html#2933 Feel free to comment as the idea proposed is far from perfect. -- Tomasz Chmielewski |