about summary refs log tree commit diff
path: root/scripts/nix-generate-patches.in
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2015-07-13T12·25+0300
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-07T01·35+0200
commit3b0f60e5c2a1a573bec46740982b48ca32b835c4 (patch)
treecc00f328f76e3071d33856104f43a71243bca22b /scripts/nix-generate-patches.in
parent896428c81850bf53488e35fee2c40f8218f4574e (diff)
baseNameOf: Enhance `basename` compatibility
* If the path ends with a slash, drop it.
* If the remaining path doesn’t contain slashes, just return it.

Fixes #574.
Diffstat (limited to 'scripts/nix-generate-patches.in')
0 files changed, 0 insertions, 0 deletions