]> git.eshelyaron.com Git - emacs.git/commitdiff
2006-10-15 Lennart Borgman <lennart.borgman.073@student.lu.se>
authorKim F. Storm <storm@cua.dk>
Sun, 15 Oct 2006 20:42:28 +0000 (20:42 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 15 Oct 2006 20:42:28 +0000 (20:42 +0000)
(flymake-get-project-include-dirs-imp): Use shell-quote-argument.

lisp/progmodes/flymake.el

index 4f197e34bfe79cc81acfaf7255376c05333dfe31..b37be18188cfac4b5d2ea685da097c2f50332271 100644 (file)
@@ -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))