BUG: removed bash-dependent test for the existence of gnuplot

This commit is contained in:
william
2014-02-05 16:20:53 +00:00
committed by Andrew Heather
parent e19251f0cd
commit 11416d066d
7 changed files with 20 additions and 13 deletions

View File

@ -1,9 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
gnuplot<<EOF
set terminal postscript eps color enhanced "Helveicta,20"

View File

@ -1,9 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"

View File

@ -1,9 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"

View File

@ -1,9 +1,10 @@
#!/bin/sh
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
gnuplot<<EOF
set terminal postscript eps color enhanced "Helvetica,20"

View File

@ -78,10 +78,11 @@ EOF
# test if gnuplot exists on the system
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
SETSDIR="../postProcessing/sets"

View File

@ -41,10 +41,12 @@ done
# create validation plot
# test if gnuplot exists on the system
type -P gnuplot &>/dev/null || {
if ! which gnuplot > /dev/null 2>&1
then
echo "gnuplot not found - skipping graph creation" >&2
exit 1
}
fi
graphName="OF_vs_ANAYTICAL.eps"
echo "Creating graph of u+ vs y+ to $graphName"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
cd ${0%/*} || exit 1