提交 cb1c1a36 编写于 作者: M Mark Adler

Avoid the use of the -u option with mktemp.

上级 8dc21b17
...@@ -227,8 +227,8 @@ zlib.3.pdf: zlib.3 ...@@ -227,8 +227,8 @@ zlib.3.pdf: zlib.3
groff -mandoc -f H -T ps zlib.3 | ps2pdf - zlib.3.pdf groff -mandoc -f H -T ps zlib.3 | ps2pdf - zlib.3.pdf
zconf.h.cmakein: zconf.h.in zconf.h.cmakein: zconf.h.in
-@ TEMPFILE=`mktemp -u __XXXXXX`; \ -@ TEMPFILE=`mktemp __XXXXXX`; \
echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" > $$TEMPFILE &&\ echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" >> $$TEMPFILE &&\
sed -f $$TEMPFILE zconf.h.in > zconf.h.cmakein &&\ sed -f $$TEMPFILE zconf.h.in > zconf.h.cmakein &&\
touch -r zconf.h.in zconf.h.cmakein &&\ touch -r zconf.h.in zconf.h.cmakein &&\
rm $$TEMPFILE rm $$TEMPFILE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册