chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] address@hidden: Re: 4.8.0 release?]


From: John Cowan
Subject: Re: [Chicken-hackers] address@hidden: Re: 4.8.0 release?]
Date: Tue, 11 Sep 2012 00:03:40 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Mario Domenech Goulart scripsit:

>  # for cygwin
> -test -f ../cygchicken-0.dll && cp ../cygchicken-0.dll .
> +if test -f ../cygchicken-0.dll; then
> +    cp ../cygchicken-0.dll .
> +    cp ../cygchicken-0.dll reverser/tags/1.0
> +fi
> +mv ../cygchicken-0.dll ../cygchicken-0.dll_

All these copies and moves, including the last, need to be inside the
scope of the "if test -f", or it's not idempotent.

-- 
John Cowan
        address@hidden
                I am a member of a civilization. --David Brin



reply via email to

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