mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
When tr gets bracketed arguments, they need to be quoted
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
2b58c83e62
commit
715d69b0d5
@ -578,7 +578,7 @@ PROCESS_PODS=\
|
||||
[ -z "$$SEC" ] && SEC=$$defsec; \
|
||||
fn=`basename $$p .pod`; \
|
||||
Name=$$fn; \
|
||||
NAME=`echo $$fn | tr [a-z] [A-Z]`; \
|
||||
NAME=`echo $$fn | tr '[a-z]' '[A-Z]'`; \
|
||||
suf=`eval "echo $$OUTSUFFIX"`; \
|
||||
top=`eval "echo $$OUTTOP"`; \
|
||||
$(PERL) $(SRCDIR)/util/mkdir-p.pl $$top/man$$SEC; \
|
||||
@ -591,8 +591,8 @@ PROCESS_PODS=\
|
||||
comp_n="$$n"; \
|
||||
comp_fn="$$fn"; \
|
||||
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
|
||||
comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \
|
||||
comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \
|
||||
comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \
|
||||
comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \
|
||||
;; \
|
||||
esac; \
|
||||
if [ "$$comp_n" != "$$comp_fn" ]; then \
|
||||
@ -621,8 +621,8 @@ UNINSTALL_DOCS=\
|
||||
comp_n="$$n"; \
|
||||
comp_fn="$$fn"; \
|
||||
case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
|
||||
comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \
|
||||
comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \
|
||||
comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \
|
||||
comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \
|
||||
;; \
|
||||
esac; \
|
||||
if [ "$$comp_n" != "$$comp_fn" ]; then \
|
||||
|
Loading…
x
Reference in New Issue
Block a user