bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] gnulib-tool: don't ever forget to set $dry again


From: Bruno Haible
Subject: Re: [bug-gnulib] gnulib-tool: don't ever forget to set $dry again
Date: Wed, 14 Sep 2005 22:53:53 +0200
User-agent: KMail/1.5

Ralf Wildenhues wrote:
> This patch makes $dry_run obsolete in favor of using $dry only.  This
> way, the repeated and error-prone setting of the latter is eliminated.

Thanks for the patch. I plan to fix this problem, alongside with the
need for different echo messages in the real case vs. dry-run case
("Copying some/file" in the real case vs. "Copy some/file" in the
dry-run case), by using a variable $dry whose value is either ':' or 'false'.
So that one case write
   $dry && echo something
but also
   if $dry; then dosomething; fi

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]