Re: How to properly escape weird characters in paths to have a valid filelist?

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


On 29. 06. 21 13:32, Miro Hrončok wrote:
While at it, I've also tried to figure out how to escape a % symbol in path. Suppose the path is literally:


I've tried the following options with no luck:

/usr/share/data/%%%%%version ...

My experiments show that I need to put 8 % signs to the filelist to have a file listed with one % sign in the path.

However, that might very well not be a stable assumption:

  touch '%{buildroot}percent%%version'


Miro Hrončok
Phone: +420777974800
IRC: mhroncok

Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux