build_toolset/dialog.sh
Martin Valba 08b393f6fc Re-adapt the tool for toolset
* More changes to be universal across evolinx and UFO Linux
* Re-adapt new build environment
* Separate module loader script
* More changes for dialog view ( Still WIP )
* Some slight fixes for iso module
2023-04-01 09:43:26 +03:00

23 lines
548 B
Bash
Executable File

#!/bin/bash
set -e -o pipefail -u
##
# Export some needed things for head script to work with
##
# Dont allow to run this script in other places than specified symlink dir ( So no unknown issues occure )
if [ -f build/toolset/envsetup.sh ];then
cd "$(dirname "$0")"
else
echo "Dont run this in other places than its symlink root dir ( Only in a project root dir that has folder called setup )!!!"
exit 1
fi
export P_ROOT=$(pwd)
# Load all modules with load_module script
source $P_ROOT/build/toolset/load_modules.sh
dialog_main