X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=configure;h=c92b6706c8cbc1755dd786c653bcc336a5745d71;hb=HEAD;hp=e5031d7616aec131166349effffd5062559376c4;hpb=2264ec79d3a53eedc99a8bc14f94d55524b6800e;p=cc0%2Fargeo-build.git diff --git a/configure b/configure index e5031d7..c92b670 100755 --- a/configure +++ b/configure @@ -5,8 +5,12 @@ SDK_BUILD_BASE=$(pwd -P)/output if [ -z "$SDK_SRC_BASE" ] then -SDK_SRC_BASE=$(pwd -P) -echo "Script variable SDK_SRC_BASE not set, assuming Argeo Build is building itself and using the local directory" +echo Script variable SDK_SRC_BASE must be set in the calling \'configure\' script, +echo to the root location of the sources, typically with such a pattern: +echo 'SDK_SRC_BASE="$(cd "$(dirname "$0")"; pwd -P)"' +echo "(see 'configure.template' from the argeo-build directory)" +echo In order to build Argeo Build itself, explicitly set SDK_SRC_BASE as an environment variable +exit 1 fi SDK_MK=$SDK_SRC_BASE/sdk.mk