From 5495a3497b54aa56e821c8aa44233345c0bd86b9 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sun, 19 Nov 2017 00:18:59 -0800 Subject: showConfig.sh no longer has anything substituted Signed-off-by: Alexey Neyman diff --git a/Makefile.in b/Makefile.in index 33d9666..76fbd93 100644 --- a/Makefile.in +++ b/Makefile.in @@ -162,8 +162,7 @@ uninstall: real-uninstall build-bin: $(PROG_NAME) \ scripts/scripts.mk \ scripts/crosstool-NG.sh \ - scripts/saveSample.sh \ - scripts/showConfig.sh + scripts/saveSample.sh build-lib: paths.mk \ paths.sh @@ -228,7 +227,6 @@ clean-bin: $(call __silent_rm,scripts/scripts.mk) $(call __silent_rm,scripts/crosstool-NG.sh) $(call __silent_rm,scripts/saveSample.sh) - $(call __silent_rm,scripts/showConfig.sh) clean-lib: $(call __silent_rm,paths.mk paths.sh) diff --git a/scripts/.gitignore b/scripts/.gitignore index 7abc2a7..553a363 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -1,4 +1,3 @@ crosstool-NG.sh saveSample.sh -showConfig.sh scripts.mk 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\"" diff --git a/scripts/showConfig.sh.in b/scripts/showConfig.sh.in deleted file mode 100644 index 9031b3c..0000000 --- a/scripts/showConfig.sh.in +++ /dev/null @@ -1,13 +0,0 @@ -# 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\"" -- cgit v0.10.2-6-g49f6