changeset 73380:a875c440fe93

2006-10-15 Lennart Borgman <lennart.borgman.073@student.lu.se> (flymake-get-project-include-dirs-imp): Use shell-quote-argument.
author Kim F. Storm <storm@cua.dk>
date Sun, 15 Oct 2006 20:42:28 +0000
parents b6d2149f9903
children 786316b63b5f
files lisp/progmodes/flymake.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/flymake.el	Sun Oct 15 20:42:10 2006 +0000
+++ b/lisp/progmodes/flymake.el	Sun Oct 15 20:42:28 2006 +0000
@@ -1021,7 +1021,9 @@
       (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))