mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpgscm: Make function more general.
* tests/gpgscm/tests.scm (in-srcdir): Accept more path fragments. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
d9839c9d30
commit
9ee23a715d
@ -180,8 +180,8 @@
|
||||
path
|
||||
(string-append (getcwd) "/" path)))
|
||||
|
||||
(define (in-srcdir what)
|
||||
(canonical-path (string-append (getenv "srcdir") "/" what)))
|
||||
(define (in-srcdir . names)
|
||||
(canonical-path (apply path-join (cons (getenv "srcdir") names))))
|
||||
|
||||
;; Try to find NAME in PATHS. Returns the full path name on success,
|
||||
;; or raises an error.
|
||||
|
Loading…
x
Reference in New Issue
Block a user