[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 05/08: Fix bogus 'cond-expand'.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 05/08: Fix bogus 'cond-expand'. |
Date: |
Wed, 26 Sep 2018 08:57:56 -0400 (EDT) |
civodul pushed a commit to branch master
in repository shepherd.
commit f9e9ab2abdb7723f993a3b7fa6da83f68c369da2
Author: Ludovic Courtès <address@hidden>
Date: Wed Sep 26 14:36:52 2018 +0200
Fix bogus 'cond-expand'.
* modules/shepherd/support.scm (initialize-cli): Use 'if-2.0' instead of
a bogus 'cond-expand'.
---
modules/shepherd/support.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index 9df9c36..02d8c84 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -219,9 +219,8 @@ output port, and PROC's result is returned."
(debug-disable 'warn-deprecated))
;; In Guile 2.2+, the locale is installed by default.
- (cond-expand
- (guile-2.0 (false-if-exception (setlocale LC_ALL "")))
- (else #t))
+ (if-2.0 (false-if-exception (setlocale LC_ALL ""))
+ #t)
(bindtextdomain %gettext-domain %localedir)
(textdomain %gettext-domain)
- [shepherd] branch master updated (86b3ef0 -> ffb82c1), Ludovic Courtès, 2018/09/26
- [shepherd] 05/08: Fix bogus 'cond-expand'.,
Ludovic Courtès <=
- [shepherd] 06/08: build: Accept Guile 3.0., Ludovic Courtès, 2018/09/26
- [shepherd] 02/08: nls: Update sv translation., Ludovic Courtès, 2018/09/26
- [shepherd] 08/08: build: Bump to version 0.5.0., Ludovic Courtès, 2018/09/26
- [shepherd] 04/08: Avoid uses of the _IO* constants on Guile >= 2.2., Ludovic Courtès, 2018/09/26
- [shepherd] 03/08: nls: Update fr translation., Ludovic Courtès, 2018/09/26
- [shepherd] 07/08: Update 'NEWS'., Ludovic Courtès, 2018/09/26
- [shepherd] 01/08: nls: Update pt_BR translation., Ludovic Courtès, 2018/09/26