build_toolset/initial_setup.sh
Martin Valba 06851e89dd Add initial_setup.sh
* Name says it

Change-Id: I506c546abd98bf214bc14dbc9ef60149a41b98c1
2023-04-01 10:26:47 +03:00

17 lines
411 B
Bash
Executable File

#!/bin/bash
# Symlink the main toolset runner to project root if not present
if [ ! -f envsetup ]; then
if [ ! -f build/toolset/envsetup.sh ]; then
echo "Cd to repo synced folder and run me again!!!"
fi
ln -sf build/toolset/envsetup.sh envsetup
echo "Now repo is initially set-up and youre good to run envsetup --help"
else
echo "Project already is initially runned"
fi