summaryrefslogtreecommitdiff
path: root/scripts/showConfig.sh.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-24 22:54:42 (GMT)
committerGitHub <noreply@github.com>2017-01-24 22:54:42 (GMT)
commitb5d0e396d9ad0c886ab487bd26776bda92e5f40c (patch)
tree7bfe2a05f5dcee235ddc448dc3bde53882c8318c /scripts/showConfig.sh.in
parent027a75cbf0e8361160485b5869f3a554cf44977c (diff)
parent832bee87c03ce2fecdbf8b00996fc1fca8f2b2e0 (diff)
Merge pull request #547 from stilor/separate-canadian-crosses-instdir
Simplify the pre-build actions a bit
Diffstat (limited to 'scripts/showConfig.sh.in')
-rw-r--r--scripts/showConfig.sh.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/showConfig.sh.in b/scripts/showConfig.sh.in
new file mode 100644
index 0000000..b439995
--- /dev/null
+++ b/scripts/showConfig.sh.in
@@ -0,0 +1,15 @@
+#!@@CT_bash@@
+
+# What we need:
+# - the .config file
+
+# Parse the tools' paths configuration
+. "${CT_LIB_DIR}/paths.sh"
+
+# Parse the common functions
+. "${CT_LIB_DIR}/scripts/functions"
+
+# Read the sample settings
+CT_LoadConfig
+
+eval "echo \"$1\""