bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH v7 11/11] gnulib-tool: fall back into copy if symbolic link i


From: KO Myung-Hun
Subject: Re: [PATCH v7 11/11] gnulib-tool: fall back into copy if symbolic link is not supported
Date: Fri, 15 Jan 2016 13:19:08 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2


Paul Eggert wrote:
> On 01/13/2016 06:23 PM, KO Myung-Hun wrote:
>> +      *) # SRC is relative to the directory of DEST.
>> +        cp_src="`echo "$2" | sed -e 's,\(^.*\)/[^/]*$,\1,'`/$1" ;;
> 
> Can we use parameter expansion instead?  Something like this, say:
> 
> cp_src=${2%/*}/$1

Updated.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

Attachment: 0001-gnulib-tool-fall-back-into-copy-if-symbolic-link-is-.patch
Description: Source code patch


reply via email to

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