]> andersk Git - openssh.git/commitdiff
- (djm) Fix catman-do target for non-bash
authordjm <djm>
Wed, 27 Dec 2000 05:44:51 +0000 (05:44 +0000)
committerdjm <djm>
Wed, 27 Dec 2000 05:44:51 +0000 (05:44 +0000)
ChangeLog
Makefile.in

index d23a7f555ff56b31ede546d62968c34106b3112b..f0663c038131dc1ea1e09604b8d90ab1d7240d42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
    Takumi Yamane <yamtak@b-session.com>
  - (bal) Checks for getrlimit(), sysconf(), and setdtablesize().  Patch
    by Corinna Vinschen <vinschen@redhat.com>
+ - (djm) Fix catman-do target for non-bash
 
 20001223
  - (bal) Fixed Makefile.in to support recompile of all ssh and sshd objects
index 117968cdc2bc435d9bb977ae2ac35eb36bc88ab3..05ff36effb7d84e3ab12ffc883a64824dd4858e1 100644 (file)
@@ -127,9 +127,10 @@ veryclean: distclean
 
 catman-do:
        @for f in $(TROFFMAN) ; do \
-               echo "$$f -> $${f%%.[18]}.0" ; \
+               base=`echo $$f | sed 's/\..*$$//'` ; \
+               echo "$$f -> $$base.0" ; \
                nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
-                       >$${f%%.[18]}.0 ; \
+                       >$$base.0 ; \
        done
 
 distprep: catman-do
This page took 0.073794 seconds and 5 git commands to generate.