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

View file

@ -389,4 +389,5 @@ (define installer-builder
;; 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"))))