From: Ivan K. <ch...@ya...> - 2006-07-31 16:26:32
|
On Monday 31 July 2006 08:18, Franck Bourdonnec wrote: > Le lundi 31 juillet 2006 14:07, Alan Hourihane a =C3=A9crit=C2=A0: > > > > Alan. > > > > > > just don't fill the export VARS... > > > > So, then I've got to keep setting/unsetting those, instead of just > > running my external script. > > > > Alan. > > sorry I don't understand what you mean. > > if $PXE_WWW is set in .config copy is done > if not set nothing is done. > Nobody will ever know about this posibility except curious > reader and you, gilles, yvan. > > or you can set them in your script and not in .config > =46ranck, what if we move this functionality to a script in ./tools? Or we can come up with a compromise along the lines of: 1) have an extra .config.extra (included in .cvsignore) 2) make.sh will silently check if .config.extra exists and execute it The idea is that your PXE and WWW vars are not likely to change between run= s=20 of make.sh. So why prompt for them every time? You can save them in a fil= e=20 and forget about them. This way anyone can put whatever he wants in that extra config file without= =20 everyone else having to answer questions in the build. IvanK. |