Skip to content

Commit

Permalink
Show zsh versiosn in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 27, 2019
1 parent 63871c5 commit 982f915
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2019-10-27 rocky <[email protected]>

* ChangeLog, NEWS.md, admin/how-to-make-a-release.md, configure.ac,
test/data/Makefile.am, test/example/Makefile.am: Get ready for
release 1.1.0

2019-10-26 rocky <[email protected]>

* .gitignore, .travis.yml, docs/commands/running/skip.rst: Imporve
Expand Down
13 changes: 7 additions & 6 deletions test/zsh/ok4zshdb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# !/usr/bin/zsh -f
# Returns 0 if run with a zsh compatible with zshdb
PS4='%(%x:%I): [%?]
PS4='%(%x:%I): [%?]
'

second_fn() {
Expand All @@ -24,8 +24,10 @@ functrace_no_source() {

typeset -fuz is-at-least # Same as "functions -u -z" but better documented.
if ! is-at-least 4.3.6-dev-2 ; then
print "zsh needs version 4.3.6-dev-2 or greater"
exit 20
print "zsh needs version 4.3.6-dev-2 or greater"
exit 20
else
print $(zsh --version) is recent enough.
fi

functrace_no_source
Expand All @@ -39,10 +41,10 @@ function get_processor {
if (( $? == 0 )); then
ZSH_PROCESSOR=${cmd[0]}
else
# Solaris doesn't have "h" on ps
# Solaris doesn't have "h" on ps
cmd=( $(COLUMNS=3000 ps -o args -p $$ | tail -1) ) 2>/dev/null
ZSH_PROCESSOR=${cmd[0]}
fi
fi
}

get_processor
Expand All @@ -60,4 +62,3 @@ fi
# you get here no dice.
print "Internal test error you. You shouldn't be seing this."
exit 40

0 comments on commit 982f915

Please sign in to comment.