diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-12-17 01:25:46 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-12-17 01:25:46 -0500 |
commit | 86c6a4bdf261845348b0452ef1099d82e134c2a0 (patch) | |
tree | 625a0cfffa478e9d49a9f61f1614fc88dc0d1488 /scripts/check-config | |
parent | 27fa086f072b1499075de700350b664f9c25cb25 (diff) | |
download | vyos-build-86c6a4bdf261845348b0452ef1099d82e134c2a0.tar.gz vyos-build-86c6a4bdf261845348b0452ef1099d82e134c2a0.zip |
Add initial drafts of the build scripts.
Diffstat (limited to 'scripts/check-config')
-rwxr-xr-x | scripts/check-config | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/check-config b/scripts/check-config new file mode 100755 index 00000000..3949869b --- /dev/null +++ b/scripts/check-config @@ -0,0 +1,14 @@ +#!/usr/bin/env python + +import sys +import os + +import defaults + + +print("Checking build configuration") + +if not os.path.exists(defaults.BUILD_CONFIG): + print("Build config does not exist") + print("Please run the ./configure script and try again") + sys.exit(1) |