# HG changeset patch # User Kim F. Storm # Date 1160944948 0 # Node ID a875c440fe93fb3a5c31edf2c270c6941fdb207a # Parent b6d2149f99034574e247387337e47a2e52e24fc1 2006-10-15 Lennart Borgman (flymake-get-project-include-dirs-imp): Use shell-quote-argument. diff -r b6d2149f9903 -r a875c440fe93 lisp/progmodes/flymake.el --- 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))