diff --git a/extract-nightly-commit.sh b/extract-nightly-commit.sh
index c3f644285c111fd5bb17f8d0d2631bb2259e2448..c85e600d08f6cb97aa651acc90b2ba8524b38625 100755
--- a/extract-nightly-commit.sh
+++ b/extract-nightly-commit.sh
@@ -2,4 +2,4 @@
 
 set -e
 
-grep -e "^ENV ECL_COMMIT" nightly/buster/Dockerfile | cut -d" " -f 3
+grep -e "^ENV ABCL_COMMIT" nightly/buster/Dockerfile | cut -d" " -f 3