[Buildroot] [RFC PATCH v5 07/11] support/scripts: add reloacte-sdk.sh script for SDK relocation

Samuel Martin s.martin49 at gmail.com
Tue Jul 4 07:14:42 UTC 2017


Wolfgang,

On Tue, Jul 4, 2017 at 9:01 AM, Wolfgang Grandegger <wg at grandegger.com> wrote:
>
> Am 04.07.2017 um 00:01 schrieb Arnout Vandecappelle:
>>
>>   Type in the subject: reloacte -> relocate
>>
>> On 30-06-17 10:37, Wolfgang Grandegger wrote:
[...]
>>> +newpath="$(sed -e "s\\${OLDPATH}\\${NEWPATH}\\g" "${LOCFILE}")"
>>
>>
>>   \\ is a bit a weird sed separator... We use % mostly, sometimes @ or ,.
>> But I'd
>> advise %.
>
>
> "%" and "@" are legal character of a file name. That's why I have chosen
> "\".

I think youcan choose one of the characters from [1] (my preference
would be either ':' or '|').

[1] https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words


Regards,

-- 
Samuel


More information about the buildroot mailing list