From 47808ee989c85b6d011851dbec24c39580b55cbb Mon Sep 17 00:00:00 2001 From: timerix Date: Mon, 16 Jan 2023 03:21:30 +0600 Subject: [PATCH] some messages --- default.config | 1 - init.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/default.config b/default.config index bc41b57..50a2a53 100644 --- a/default.config +++ b/default.config @@ -3,7 +3,6 @@ CBUILD_VERSION=3 CONFIG_VERSION=1 PROJECT="NULL" -echo "reading $PROJECT default config..." CMP_C=gcc CMP_CPP=g++ STD_C=c11 diff --git a/init.sh b/init.sh index cf20746..0bc8b08 100755 --- a/init.sh +++ b/init.sh @@ -9,8 +9,9 @@ if [ ! -f default.config ]; then cp cbuild/default.config default.config printf "${YELLOW}Default config didn't exist, copied from cbuild.\n" fi -# getting some values from default config +printf "Reading ./default.config\n" source default.config +# getting some values from default config DEFAULT_CONFIG_VERSION=$CONFIG_VERSION DEFAULT_CBUILD_VERSION=$CBUILD_VERSION unset CONFIG_VERSION @@ -26,6 +27,7 @@ if [ ! -f current.config ]; then printf "${YELLOW}New config created from the default.\nEdit it.\n${GRAY}" exit fi +printf "Reading ./current.config\n" source current.config # checking versions