Select Git revision
general_stuff
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
general_stuff 302 B
# There are some common things we will use in any script we have for plotting.
exe_dir=../bin
exe=$exe_dir/ackley_nogfx
plot_dir=plots
bailout () {
echo BROKEN
exit 1
}
if ! [ -x $exe ] ; then
(cd ..; make ) || bailout
fi
if ! [ -d $plot_dir ] ; then
mkdir $plot_dir || bailout
fi