Skip to content
Snippets Groups Projects
Commit 10009909 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

Add check for presence of gnu parallel before checking its help output

parent 6b9683b0
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@
echo "Warming caches for all repos"
echo "(use SCMPERF_WARMCACHE=skip to skip it)"
starttime=`date +%s`
if parallel --help | grep -q "man parallel" ; then
if command -v parallel && parallel --help | grep -q "man parallel" ; then
# gnu parallel is available
if [ -n "$TESTTMP" ]; then
# avoid random output order in test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment