diff --git a/CHANGELOG.md b/CHANGELOG.md
index 00ff4e5d2f2e2477ec97a6cda016645606cbc386..a4f7efdf6683ab47f5e560b7a8d07e779b91c809 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 * Removed duplicated entries from generated `.dep` files
 
 ### Other changes
+* removed `sed -i /submodule/,24465d $(TOP)/.git/config` from DEFINES_FT
 * removed `e3.cfg`, `ess-env.conf` and `DEFINES_REQUIRE` files and associated codes in `RULES_REQUIRE`, `setE3Env.bash` and `.gitignore`.
 * removed legacy code from setE3Env.bash
 * Removed usage of `env.sh` - now there is a check only for seeing if the environment variable `$IOCNAME` is set
diff --git a/configure/E3/DEFINES_FT b/configure/E3/DEFINES_FT
index 3a50916c73c22924cb20be2ba1f57eaa81bac0b1..840ac0cf00e81e483d677e375ff2afb94a96f4e3 100644
--- a/configure/E3/DEFINES_FT
+++ b/configure/E3/DEFINES_FT
@@ -1,7 +1,6 @@
 # Keep always the module up-to-date
 define git_update =
 git submodule deinit -f $@/
-sed -i '/submodule/,24465d'  $(TOP)/.git/config
 rm -rf $(TOP)/.git/modules/$@
 git submodule init $@/
 git submodule update --init --recursive $@/.