From: conao3 Date: Mon, 10 Jun 2019 12:03:13 +0000 (+0900) Subject: use xargs not to use backquote shell execution X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=d668c6749595c446b8d8b177a25c962086f871fe use xargs not to use backquote shell execution --- diff --git a/Makefile b/Makefile index 10e5c33..43ad3e8 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SHAR = shar PERL = perl RM = rm -rf VERSION = 2.1.5 -MKDIR = $(shell if mkdir -p `pwd` 2>/dev/null; then echo "mkdir -p"; else echo "mkdir"; fi) +MKDIR = $(shell if pwd | xargs mkdir 2>/dev/null -p ; then echo "mkdir -p"; else echo "mkdir"; fi) prefix = /usr/local PYTHON2 = python PYTHON3 = python