[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Files with spaces and brackets

Howdy folks!

So I have a file named, without quotes,  "/tmp/test/Funky [filename].txt"

The problem here is two fold. Spaces and '['. Spaces are solved by double-quoting the filename in the %files section, and normally the '[' can be escaped by doing [\[]. However, when combined, this doesn't work:

"/tmp/test/Funky [\[]filename].txt"

The error is:    File not found by glob: .../BUILD/tmp/test/Funky [\[]filename].txt

How do I convince rpmbuild to package this file?

Rpm-list mailing list

[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]