Fix extract-vars-from-env-file
This commit is contained in:
parent
06dd59602e
commit
9fdfae0533
@ -441,6 +441,7 @@ Load environment variables into Emacs from a shell script:
|
||||
(let ((var-re "\\(.+?\\)=\\(.+\\)$")
|
||||
(env '()))
|
||||
(with-temp-buffer
|
||||
(cd (file-name-directory file))
|
||||
(shell-command (concat "source " file " > /dev/null && env")
|
||||
(current-buffer))
|
||||
(goto-char (point-min))
|
||||
|
Loading…
Reference in New Issue
Block a user