about summary refs log tree commit diff
path: root/Completion/Unix/Command/_make
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-10-18 08:35:22 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2013-10-18 08:35:22 -0700
commit87c482d751b9c8211974352139cf7fedb9797f5f (patch)
tree6d0736ec8707c6f2b939a68e1bd3507011546f6c /Completion/Unix/Command/_make
parent978b5bcc8d21fce58369f810ef73bdbc434f33e7 (diff)
downloadzsh-87c482d751b9c8211974352139cf7fedb9797f5f.tar.gz
zsh-87c482d751b9c8211974352139cf7fedb9797f5f.tar.xz
zsh-87c482d751b9c8211974352139cf7fedb9797f5f.zip
31840: "read" needs IFS unset to avoid stripping whitespace in makefiles
Diffstat (limited to 'Completion/Unix/Command/_make')
-rw-r--r--Completion/Unix/Command/_make2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index 7b4c22466..e5a513f64 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -59,7 +59,7 @@ _make-expandVars() {
 }
 
 _make-parseMakefile () {
-  local input var val target dep TAB=$'\t' dir=$1 tmp
+  local input var val target dep TAB=$'\t' dir=$1 tmp IFS=
 
   while read input
   do