aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rootfs_rpm-extract-postinst.awk
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-20 10:14:52 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-22 15:16:40 +1300
commitfc6a2fc60d142a7c56bde2a86b172da7ff5f40cd (patch)
tree24cf31dd6608c9c4272a9089b168d10cf4be7c16 /scripts/rootfs_rpm-extract-postinst.awk
parent5e21afc9395060b489156d3f90505a372b713f37 (diff)
downloadopenembedded-core-contrib-fc6a2fc60d142a7c56bde2a86b172da7ff5f40cd.tar.gz
classes/package_rpm: handle square brackets in filenames
When constructing a spec file we list files and directory paths in the %files section. If ] or [ characters are in a file or directory name, rpm treats them as wildcards which will mean it won't properly match the filename. Instead, transform these into an ? wildcard so they don't cause a problem. (This fixes packaging the npm package "file-set" and anything that happens to depend upon it, since it includes tests with files that contain unusual characters including ] and [). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/rootfs_rpm-extract-postinst.awk')
0 files changed, 0 insertions, 0 deletions