Commit 450734a5 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

FIX: attempt to make suppress cross-platform

parent 3e2a3751
...@@ -6,9 +6,9 @@ source library_builders.sh ...@@ -6,9 +6,9 @@ source library_builders.sh
function suppress { function suppress {
# Suppress the output of a bash command unless it fails # Suppress the output of a bash command unless it fails
/bin/rm --force /tmp/suppress.out 2> /dev/null rm --force $TMPDIR/suppress.out 2> /dev/null
$* 2>&1 > /tmp/suppress.out || cat /tmp/suppress.out $* 2>&1 > $TMPDIR/suppress.out || cat $TMPDIR/suppress.out
/bin/rm /tmp/suppress.out rm $TMPDIR/suppress.out
} }
suppress build_openssl suppress build_openssl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment