mirror of
https://github.com/NixOS/nix
synced 2025-07-08 11:03:54 +02:00
Merge commit '36c6786036
'
This commit is contained in:
commit
14955c297d
7 changed files with 60 additions and 19 deletions
|
@ -10,5 +10,5 @@ filename-to-dep = $(dir $1).$(notdir $1).dep
|
|||
# empty string if not found.
|
||||
find-program = $(shell for i in $$(IFS=: ; echo $$PATH); do p=$$i/$(strip $1); if [ -e $$p ]; then echo $$p; break; fi; done)
|
||||
|
||||
# Remove trailing slash.
|
||||
# Ensure that the given string ends in a single slash.
|
||||
add-trailing-slash = $(patsubst %/,%,$(1))/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue