diff options
author | Karl Berry <karl@freefriends.org> | 2011-06-27 21:32:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-06-27 21:32:19 +0000 |
commit | 9696647ded87f0eeda00239b2965d0c35f6e8f99 (patch) | |
tree | d6d44f855e396ab9ff07d9187fd3d3d221d4e521 /Build/source/texk/tetex/fmtutil | |
parent | 448790feb905a717d1a74289fe5fb8ddff02cb58 (diff) |
use versionfunc to placate Solaris sh
git-svn-id: svn://tug.org/texlive/trunk@23149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tetex/fmtutil')
-rwxr-xr-x | Build/source/texk/tetex/fmtutil | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/tetex/fmtutil b/Build/source/texk/tetex/fmtutil index 72dbd981cc0..b11ef269f0c 100755 --- a/Build/source/texk/tetex/fmtutil +++ b/Build/source/texk/tetex/fmtutil @@ -142,7 +142,7 @@ eof cleanup 0 } -version() +versionfunc() { cat <<eof $progname version $version @@ -433,7 +433,7 @@ main() fullfmt=$1; shift case $fullfmt in ""|--help) help ;; - --version) version ;; + --version) versionfunc ;; --*) abort "unknown option $fullfmt, try --help" ;; *.fmt|*.mem|*.base) set x --byfmt `echo $fullfmt | sed 's@\.[a-z]*$@@'` ${1+"$@"} @@ -512,7 +512,7 @@ main() case "$cmd" in "") abort "missing command; try $progname --help if you need it";; help) help;; - version) version;; + version) versionfunc;; esac if test -n "$cfgparam"; then |