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
[email protected]
I am a member of a civilization. --David Brin
_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers