Skip to content
Snippets Groups Projects
Commit 06b59f89 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

check if gmake exists, if not try make. On MacOS gmake does not exist but

make is GNU make. Otherwise script just fails.


git-svn-id: http://root.cern.ch/svn/root/trunk@8103 27541ba8-7e3a-0410-8455-c3a389f83636
parent 86b33f0e
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
#dt_MakeFiles.sh #dt_MakeFiles.sh
#root -b -q 'dt_MakeRef.C("Event.new.split9.root");' #root -b -q 'dt_MakeRef.C("Event.new.split9.root");'
gmake -f dt_Makefile drawtest if [ "x`which gmake 2>/dev/null | awk '{if ($1~/gmake/) print $1;}'`" != "x" ]
then
gmake -f dt_Makefile drawtest
else
make -f dt_Makefile drawtest
fi
./dt_RunDrawTest.sh ./dt_RunDrawTest.sh
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