diff options
author | Kim F. Storm <[email protected]> | 2006-10-15 20:42:28 +0000 |
---|---|---|
committer | Kim F. Storm <[email protected]> | 2006-10-15 20:42:28 +0000 |
commit | ff4e2883a3d5fb4cac7a328072712593931fb16b (patch) | |
tree | a93764d73a8dfbf00d44d31281a1727a7d6e58b3 /lisp/progmodes/flymake.el | |
parent | 88b7c0e4d3904a5180d367495888f84574a4758c (diff) |
2006-10-15 Lennart Borgman <[email protected]>
(flymake-get-project-include-dirs-imp): Use shell-quote-argument.
Diffstat (limited to 'lisp/progmodes/flymake.el')
-rw-r--r-- | lisp/progmodes/flymake.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 4f197e34bf..b37be18188 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1021,7 +1021,9 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'." (progn (flymake-get-project-include-dirs-from-cache basedir)) ;;else - (let* ((command-line (concat "make -C\"" basedir "\" DUMPVARS=INCLUDE_DIRS dumpvars")) + (let* ((command-line (concat "make -C " + (shell-quote-argument basedir) + " DUMPVARS=INCLUDE_DIRS dumpvars")) (output (shell-command-to-string command-line)) (lines (flymake-split-string output "\n")) (count (length lines)) |