mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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
|
path
|
||||||
(string-append (getcwd) "/" path)))
|
(string-append (getcwd) "/" path)))
|
||||||
|
|
||||||
(define (in-srcdir what)
|
(define (in-srcdir . names)
|
||||||
(canonical-path (string-append (getenv "srcdir") "/" what)))
|
(canonical-path (apply path-join (cons (getenv "srcdir") names))))
|
||||||
|
|
||||||
;; Try to find NAME in PATHS. Returns the full path name on success,
|
;; Try to find NAME in PATHS. Returns the full path name on success,
|
||||||
;; or raises an error.
|
;; or raises an error.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user