diff --git a/support/bin/rtcds.in b/support/bin/rtcds.in
index 7ddcd239f6cc9e5e0e49c7d0f8529bf132e7de62..e3c39095eadd01ea0bfa85a36d21a8a839d586a9 100755
--- a/support/bin/rtcds.in
+++ b/support/bin/rtcds.in
@@ -23,7 +23,7 @@ ifo=${IFO,,*}
 
 RCG_SRC=${RCG_SRC:-/usr/share/advligorts/src}
 RCG_BUILD_ROOT=${RCG_BUILD_ROOT:-/var/cache/advligorts}
-RCG_BUILDD=${RCG_BUILDD:-$RCG_BUILT_ROOT/rcg-$RTS_VERSION}
+RCG_BUILDD=${RCG_BUILDD:-$RCG_BUILD_ROOT/rcg-$RTS_VERSION}
 # FIXME: the RCG hard-codes /opt/rtcds as the root
 RCG_TARGET=/opt/rtcds/${site}/${ifo}