cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gknauf: curl Makefile.am,1.59,1.60 Makefile.dist,1.42,1.43

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 Feb 2008 22:15:59 +0100 (CET)

On Sat, 9 Feb 2008, cvs_at_labb.contactor.se wrote:

> make use of mv's backup feature so that calling the ca-bundle target more
> than once will never fail; ignore error which can occure if for whatever
> reason there's no orignial ca-bundle.crt to rename.

[...]

> - @mv -v lib/ca-bundle.crt lib/ca-bundle.crt.old
> + @-mv -vbVt lib/ca-bundle.crt lib/ca-bundle.crt.old

These are (all) GNU mv specific options so we really can't use them
unconditionally like this. TSUS seems to specify only -f and -i:

   http://www.opengroup.org/onlinepubs/7990989775/xcu/mv.html

I guess the rename logic can instead be made by the perl script itself.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-09