From: Kim F. Storm Date: Sun, 15 Oct 2006 20:42:28 +0000 (+0000) Subject: 2006-10-15 Lennart Borgman X-Git-Tag: emacs-pretest-22.0.90~118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff4e2883a3d5fb4cac7a328072712593931fb16b;p=emacs.git 2006-10-15 Lennart Borgman (flymake-get-project-include-dirs-imp): Use shell-quote-argument. --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 4f197e34bfe..b37be18188c 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))