diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-31 11:15:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-31 11:18:30 +0100 |
commit | 091191c3dcbfb9f01070d26bf15cb2c4dd07b1b5 (patch) | |
tree | f77c3bf5986dd80bd0adce92b9ad8726d30f5fed /tests/grafts.scm | |
parent | 1c27f72fc2770d68243dd95b7c05adc3b2b02ea4 (diff) | |
download | patches-091191c3dcbfb9f01070d26bf15cb2c4dd07b1b5.tar patches-091191c3dcbfb9f01070d26bf15cb2c4dd07b1b5.tar.gz |
list-runtime-root: Fix off-by-one in 'strip-drop' call.
Fixes <https://bugs.gnu.org/29862>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.
* nix/scripts/list-runtime-roots.in (canonicalize-store-item): Define
'store' with a trailing "/". Have the 'string-prefix?' call match the
'string-drop' call.
Diffstat (limited to 'tests/grafts.scm')
0 files changed, 0 insertions, 0 deletions