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'.
This commit is contained in:
Ludovic Courtès 2019-04-26 12:07:31 +02:00
parent 538b99f31f
commit 6c849cdb98
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -389,4 +389,5 @@ selected keymap."
;; some reason, unicode support is not correctly installed ;; some reason, unicode support is not correctly installed
;; when calling this in 'installer-builder'. ;; when calling this in 'installer-builder'.
(setenv "LANG" "en_US.UTF-8") (setenv "LANG" "en_US.UTF-8")
(system #$(program-file "installer-real" installer-builder))))) (execl #$(program-file "installer-real" installer-builder)
"installer-real"))))