Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
450734a5
Commit
450734a5
authored
Oct 20, 2017
by
xoviat
Committed by
GitHub
Oct 20, 2017
Browse files
FIX: attempt to make suppress cross-platform
parent
3e2a3751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_library_builders.sh
tests/test_library_builders.sh
+3
-3
No files found.
tests/test_library_builders.sh
View file @
450734a5
...
...
@@ -6,9 +6,9 @@ source library_builders.sh
function
suppress
{
# Suppress the output of a bash command unless it fails
/bin/
rm
--force
/tmp
/suppress.out 2> /dev/null
$*
2>&1
>
/tmp
/suppress.out
||
cat
/tmp
/suppress.out
/bin/rm /tmp
/suppress.out
rm
--force
$TMPDIR
/suppress.out 2> /dev/null
$*
2>&1
>
$TMPDIR
/suppress.out
||
cat
$TMPDIR
/suppress.out
rm
$TMPDIR
/suppress.out
}
suppress build_openssl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment