zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zfautocheck equals signs
@ 2007-07-03  7:06 Clint Adams
  2007-07-03 16:43 ` vcs conversion tools hate zsh sf cvs repo [was Re: PATCH: zfautocheck equals signs] Clint Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2007-07-03  7:06 UTC (permalink / raw)
  To: zsh-workers

This somewhat gratuitous change is to get a rev 1.2 on the file;
I suspect that the state of the branches is confusing tailor.

Index: Functions/Zftp/zfautocheck
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Zftp/zfautocheck,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 zfautocheck
--- Functions/Zftp/zfautocheck	10 Sep 1999 13:58:11 -0000	1.1.1.3
+++ Functions/Zftp/zfautocheck	3 Jul 2007 07:01:56 -0000
@@ -24,16 +24,16 @@
 
 if [[ -z $ZFTP_HOST ]]; then
   zfopen || return 1
-  [[ $1 = *d* ]] || do_close=1
+  [[ $1 == *d* ]] || do_close=1
 elif zftp test 2>/dev/null; then
   return 0
 else
   zfopen || return 1
 fi
 
-if [[ $1 = *n* ]]; then
+if [[ $1 == *n* ]]; then
   return 0
-elif [[ -n $lastloc && $ZFTP_HOST = ${lastloc%%:*} ]]; then
+elif [[ -n $lastloc && $ZFTP_HOST == ${lastloc%%:*} ]]; then
   # don't print directory since we're just going back where we were.
   zfcd ${lastloc#*:} >& /dev/null
 fi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-03 18:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03  7:06 PATCH: zfautocheck equals signs Clint Adams
2007-07-03 16:43 ` vcs conversion tools hate zsh sf cvs repo [was Re: PATCH: zfautocheck equals signs] Clint Adams
2007-07-03 17:16   ` Peter Stephenson
2007-07-03 18:00     ` Clint Adams
2007-07-03 18:42       ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).