summaryrefslogtreecommitdiff
path: root/scripts/showConfig.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-11-19 08:18:59 (GMT)
committerAlexey Neyman <stilor@att.net>2017-11-20 05:50:28 (GMT)
commit5495a3497b54aa56e821c8aa44233345c0bd86b9 (patch)
tree6cf67d3eafc9315e5f2ff7353a3072d1d20dc553 /scripts/showConfig.sh
parentf1cca2a7c2e5cf5ba3cb4f9c520e6bc5edc1a691 (diff)
showConfig.sh no longer has anything substituted
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/showConfig.sh')
-rw-r--r--scripts/showConfig.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/showConfig.sh b/scripts/showConfig.sh
new file mode 100644
index 0000000..9031b3c
--- /dev/null
+++ b/scripts/showConfig.sh
@@ -0,0 +1,13 @@
+# 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\""