From 6c4d4c348971a03f0a307fde5496b2f3dd1db10b Mon Sep 17 00:00:00 2001 From: "warren.toomey" Date: Wed, 7 May 2008 00:04:23 +0000 Subject: [PATCH] added warning about missing assemv2.cfg file. --- tools/assemv2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/assemv2 b/tools/assemv2 index 8cd89b6..3c080d6 100755 --- a/tools/assemv2 +++ b/tools/assemv2 @@ -6,9 +6,18 @@ if [ ! -d tools ] then echo 'No tools/ directory, are you running this in the correct dir?' exit 1 fi +if [ ! -d build ] +then mkdir build +fi # settings; should contain something like: # APOUT=/tmp/apout2.3alpha2/apout + +if [ ! -f tools/assemv2.cfg ] +then echo 'You need to create a tools/assemv2.cfg file which contains a line' + echo 'setting APOUT=full path to the apout binary' +fi + . tools/assemv2.cfg APOUT_ROOT=../fs/root