new option -n for fcopy

Thomas Lange lange at informatik.uni-koeln.de
Mon Mar 20 11:40:01 CET 2006


>>>>> On Mon, 20 Mar 2006 00:30:02 +0100, Thomas Lange <lange at informatik.uni-koeln.de> said:

    > I need some testers for the new option -n in fcopy. This is like a
    > dry-run flag.

    >  -n                   Print the commands, but do not execute them.

I just added code to fcopy so you can now set -n for all fcopy calls by
defining the environment variable FCOPY_DRYRUN.

Now it's this line

$opt_n || $ENV{FCOPY_DRYRUN} and warn "Dry-run only! Nothing is really executed.\n";

-- 
regards Thomas



More information about the linux-fai-devel mailing list