civodul pushed a commit to branch master
in repository guix.

commit 6c849cdb988d403fec11ace82704535723de9e66
Author: Ludovic Courtès <[email protected]>
Date:   Fri Apr 26 12:07:31 2019 +0200

    installer: Run wrapped program with 'execl', not 'system'.
    
    'system' invokes /bin/sh, which is certainly not needed here.
    
    * gnu/installer.scm (installer-program): Use 'execl', not 'system'.
---
 gnu/installer.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/installer.scm b/gnu/installer.scm
index 881c40e..dfb0c9d 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -389,4 +389,5 @@ selected keymap."
        ;; some reason, unicode support is not correctly installed
        ;; when calling this in 'installer-builder'.
        (setenv "LANG" "en_US.UTF-8")
-       (system #$(program-file "installer-real" installer-builder)))))
+       (execl #$(program-file "installer-real" installer-builder)
+              "installer-real"))))

Reply via email to