summaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-26 12:07:31 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-26 14:19:36 +0200
commit6c849cdb988d403fec11ace82704535723de9e66 (patch)
tree4f5c4163cd01efd2b5b1e35a96f8e9a8a7c89036 /gnu/installer.scm
parent538b99f31fb3eb41f90d6eb0e658e26e72123553 (diff)
downloadpatches-6c849cdb988d403fec11ace82704535723de9e66.tar
patches-6c849cdb988d403fec11ace82704535723de9e66.tar.gz
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'.
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 881c40ee9b..dfb0c9d0db 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"))))