[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mktemp: not found
From: |
Bruno Haible |
Subject: |
mktemp: not found |
Date: |
Sun, 4 Dec 2011 14:57:33 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Hi Jim,
On Minix 3.1.8, I get this spurious output from the test-verify.sh test:
mktemp: not found
PASS: test-verify.sh
This patch fixes it. OK to apply?
2011-12-04 Bruno Haible <address@hidden>
tests: Avoid spurious error message on platforms without mktemp program.
* tests/init.sh (mktempd_): Run mktemp in a subshell.
--- tests/init.sh.orig Sun Dec 4 14:55:00 2011
+++ tests/init.sh Sun Dec 4 14:54:51 2011
@@ -521,7 +521,7 @@
esac
# First, try to use mktemp.
- d=`unset TMPDIR; mktemp -d -t -p "$destdir_" "$template_" 2>/dev/null` \
+ d=`unset TMPDIR; (mktemp -d -t -p "$destdir_" "$template_") 2>/dev/null` \
|| fail=1
# The resulting name must be in the specified directory.
--
In memoriam Fred Hampton <http://en.wikipedia.org/wiki/Fred_Hampton>
- mktemp: not found,
Bruno Haible <=