Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Use .. instead of :h



${ZTST_srcdir:h} doesn't point to the parent of $ZTST_srcdir when
${ZTST_srcdir} is end with `/.'.

Also, this fix a typo in Changelog.

Index: Test/comptest
===================================================================
RCS file: /projects/zsh/zsh/Test/comptest,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 comptest
--- Test/comptest	2000/03/03 18:42:49	1.1.1.6
+++ Test/comptest	2000/03/24 12:18:57
@@ -5,7 +5,7 @@
 zmodload -i zsh/zpty
 setopt extendedglob
 
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
 
 debug=
 dump=(-D)
Index: Test/ztst.zsh
===================================================================
RCS file: /projects/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.1.1.11
diff -u -r1.1.1.11 ztst.zsh
--- Test/ztst.zsh	2000/03/03 18:42:49	1.1.1.11
+++ Test/ztst.zsh	2000/03/24 12:18:57
@@ -52,7 +52,7 @@
 [[ $ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
 
 # Set the function autoload paths to correspond to this build of zsh.
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
 
 : ${TMPPREFIX:=/tmp/zsh}
 # Temporary files for redirection inside tests.
Index: ChangeLog
===================================================================
RCS file: /projects/zsh/zsh/ChangeLog,v
retrieving revision 1.1.1.31
diff -u -r1.1.1.31 ChangeLog
--- ChangeLog	2000/02/20 19:16:52	1.1.1.31
+++ ChangeLog	2000/03/24 12:18:52
@@ -4027,7 +4027,7 @@
 
 	* pws: 7257: Completion/Core/_parameters: simplify.
 
-	* Tanak Akira: 7256: Completion/User/_bzip2,
+	* Tanaka Akira: 7256: Completion/User/_bzip2,
 	  Completion/User/_bunzip2: new.
 
 	* Tanaka Akira: 7255: Completion/User/_make: complete after =.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author