diff options
author | Richard Levitte <levitte@openssl.org> | 2016-08-04 18:31:51 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-04 21:02:37 +0200 |
commit | 715d69b0d5fb5b873a923fc3f5c7b441ad73003c (patch) | |
tree | df0756d7446e211c88b9f38f32491e06f82ed369 /Configurations/unix-Makefile.tmpl | |
parent | 2b58c83e6271cd9ca4cde02d58cb428c351908f9 (diff) |
When tr gets bracketed arguments, they need to be quoted
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 3b6914c930..608c20417f 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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 \ |