[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] services: cups: Follow symlinks when installing extensions.
From: |
Andy Patterson |
Subject: |
[PATCH] services: cups: Follow symlinks when installing extensions. |
Date: |
Wed, 30 Nov 2016 16:17:45 -0500 |
Hello,
This small patch fixes a build error I encountered when adding hplip to
my cups-configuration-extensions.
Thanks,
--
Andy
From 5f1394b445dea80a37bddc9a9aa49d3498c2a8d3 Mon Sep 17 00:00:00 2001
From: Andy Patterson <address@hidden>
Date: Wed, 30 Nov 2016 16:00:13 -0500
Subject: [PATCH] services: cups: Follow symlinks when installing extensions.
* gnu/services/cups.scm (union-directory): Use "stat" when calling
"find-files" to follow symlinks.
---
gnu/services/cups.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
index 391046a..df1843e 100644
--- a/gnu/services/cups.scm
+++ b/gnu/services/cups.scm
@@ -894,7 +894,7 @@ IPP specifications.")
(if (file-exists? dst)
(format (current-error-port) "warning: ~a exists\n"
dst)
(symlink src dst))))
- (find-files (string-append package path))))
+ (find-files (string-append package path) #:stat stat)))
(list address@hidden)))
(list address@hidden))
#t))))
--
2.10.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] services: cups: Follow symlinks when installing extensions.,
Andy Patterson <=