diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-28 10:14:09 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-28 10:14:09 (EDT) |
commit | e214ce9fa75a77436bbca77ffc9b78de31962277 (patch) | |
tree | bd6e2bbfe17e1b7af1144c4e878e0567e1658e65 /locale/local.mk | |
parent | e1ba5dc4767ad9e6d245d61a981c34221d40ae58 (diff) |
oh-installfiles: In mkdir cmd, rm / and 1+ chars.
Previously, a pattern like `/usr/include/` in <binpkg>.pkg/files would cause
oh-installfiles to run `mkdir -p <binpkg>.data//usr/include` and install headers
in `<binpkg>.data/usr/include/include/`.
Before:
$ pkg=foo
$ file=/usr/include
$ echo mkdir -p "${pkg}.data/${file%/*}"
mkdir -p foo.data//usr
$ file=/usr/include/
$ echo mkdir -p "${pkg}.data/${file%/*}"
mkdir -p foo.data//usr/include
After:
$ pkg=foo
$ file=/usr/include
$ echo mkdir -p "${pkg}.data/${file%/?*}"
mkdir -p foo.data//usr
$ file=/usr/include/
$ echo mkdir -p "${pkg}.data/${file%/?*}"
mkdir -p foo.data//usr
Diffstat (limited to 'locale/local.mk')
0 files changed, 0 insertions, 0 deletions