1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 11:03:54 +02:00
This commit is contained in:
Eelco Dolstra 2014-12-14 01:47:06 +01:00
commit 14955c297d
7 changed files with 60 additions and 19 deletions

View file

@ -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))/