summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-18 23:15:47 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-18 23:15:47 -0500
commit6c0cba819fb593f1efa33e0acd0bf59597279d97 (patch)
treecbaba334bfa6a60ef7cf6029f39fde1f36fca1eb
parent9565a349f217fb6f532fac06b7ef458a32c2ad2e (diff)
downloadmusl-6c0cba819fb593f1efa33e0acd0bf59597279d97.tar.gz
musl-6c0cba819fb593f1efa33e0acd0bf59597279d97.tar.bz2
musl-6c0cba819fb593f1efa33e0acd0bf59597279d97.tar.xz
musl-6c0cba819fb593f1efa33e0acd0bf59597279d97.zip
fix error in configure script using >/dev/null in noclobber mode
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 08ef19a2..b61ffb82 100755
--- a/configure
+++ b/configure
@@ -145,7 +145,7 @@ i=0
set -C
while : ; do i=$(($i+1))
tmpc="./conf$$-$PPID-$i.c"
-2>/dev/null > "$tmpc" && break
+2>|/dev/null > "$tmpc" && break
test "$i" -gt 50 && fail "$0: cannot create temporary file $tmpc"
done
set +C