Make the app SConstruct script callable from an app's directory.

This commit is contained in:
Relintai 2022-06-11 00:26:18 +02:00
parent 4ad19be921
commit a1f38265cc

View File

@ -32,6 +32,9 @@ import traceback
import module_config
# If you want to use this script directly from a project directory remove this line:
os.chdir(os.path.abspath(os.getcwd() + "/../../../"))
repository_index = 0
module_clone_path = '/modules/'
clone_command = 'git clone {0} {1}'