summaryrefslogtreecommitdiff
path: root/scripts/util.py
blob: 740d4cccbd7fd201b297728fe37f9fa33a1127de (plain)
1
2
3
4
5
6
7
8
9
10
import sys
import os

import defaults

def check_build_config():
    if not os.path.exists(defaults.BUILD_CONFIG):
        print("Build config file ({file}) does not exist".format(file=defaults.BUILD_CONFIG))
        print("If you are running this script by hand, you should better not. Run 'make iso' instead.")
        sys.exit(1)