about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/compinstall2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 95f08ac83..8c060d9a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-06  Clint Adams  <clint@zsh.org>
+
+	* 25818: Completion/compinstall: compinstall data loss typo fix
+	from Morita Sho.
+
 2008-10-04  Clint Adams  <clint@zsh.org>
 
 	* 25808: Completion/Debian/Command/_bts: handle bts claim and
diff --git a/Completion/compinstall b/Completion/compinstall
index 8149a1d55..c04543c57 100644
--- a/Completion/compinstall
+++ b/Completion/compinstall
@@ -125,7 +125,7 @@ in order not to use existing definitions."
     newifile=$PWD/$newifile
     print "[Not absolute path: updating to $newifile]"
   fi
-  [[ -z $newifile || ! -f $newfile ]] && foundold=false
+  [[ -z $newifile || ! -f $newifile ]] && foundold=false
 else
   print "I haven't found any existing completion definitions.
 If you have some already defined by compinstall, edit the name of the