about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-24 01:48:12 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-24 01:48:12 +0000
commit5fd16e59db40ae92a0abf4c2681ef9661f2bbba9 (patch)
tree6f9e415eef52ac65e053a4a156618fd3f501f1ea
parenteb7c534a53c874dd0686a46f36fe2801cb6fa9ee (diff)
downloadzsh-5fd16e59db40ae92a0abf4c2681ef9661f2bbba9.tar.gz
zsh-5fd16e59db40ae92a0abf4c2681ef9661f2bbba9.tar.xz
zsh-5fd16e59db40ae92a0abf4c2681ef9661f2bbba9.zip
29364: partial fix for make completion in dirs with spaces.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_make2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dd09a8945..843c935ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-05-24  Mikael Magnusson <mikachu@gmail.com>
 
+	* 29364: Completion/Unix/Command/_make: Partial fix for
+	completion in dirs with spaces and other unusual characters.
+
 	* 29335: Completion/Linux/Command/_valgrind: Update the hack
 	for --tool= completion.
 
@@ -14797,5 +14800,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5323 $
+* $Revision: 1.5324 $
 *****************************************************
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index 322414b4b..ab22551ed 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -173,7 +173,7 @@ else
     [[ -r $file ]] || file=
   else
     local basedir
-    basedir=${(q)$(_make-findBasedir $words)}
+    basedir=${$(_make-findBasedir $words)}
     if [[ $is_gnu == gnu && -r $basedir/GNUmakefile ]]
     then
       file=$basedir/GNUmakefile