mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
11 lines
333 B
Python
11 lines
333 B
Python
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)
|