aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-04-08 13:49:45 +0000
committerBodo Möller <bodo@openssl.org>2001-04-08 13:49:45 +0000
commit5f1fddbbe787e594de2efe746ac00143da655fcc (patch)
tree455d9805342136a41a50870015a34d6991420ca5 /Makefile.org
parent027e257b1da1289b64587dc5bde598920feaee8c (diff)
downloadopenssl-5f1fddbbe787e594de2efe746ac00143da655fcc.tar.gz
'||', '&&' and 'test -x' apparently don't work on Ultrix;
also 'test' appears to be available as '[' only in 'if' conditions.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org
index 5a41088195..6fbf6b5825 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -538,7 +538,7 @@ install_docs:
$(INSTALL_PREFIX)$(MANDIR)/man7
@for i in doc/apps/*.pod; do \
fn=`basename $$i .pod`; \
- sec=`[ "$$fn" = "config" ] && echo 5 || echo 1`; \
+ if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
(cd `dirname $$i`; \
$(PERL) ../../util/pod2man.pl --section=$$sec --center=OpenSSL \
@@ -547,7 +547,7 @@ install_docs:
done
@for i in doc/crypto/*.pod doc/ssl/*.pod; do \
fn=`basename $$i .pod`; \
- sec=`[ "$$fn" = "des_modes" ] && echo 7 || echo 3`; \
+ if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \
echo "installing man$$sec/`basename $$i .pod`.$$sec"; \
(cd `dirname $$i`; \
$(PERL) ../../util/pod2man.pl --section=$$sec --center=OpenSSL \