diff --git a/buildscript.sh b/buildscript.sh
index 11f2c61e8a66558a971319f64bac8a3925a49567..2d1e610b79f03271f640fe8a67fb4f3d84616da1 100755
--- a/buildscript.sh
+++ b/buildscript.sh
@@ -99,7 +99,7 @@ prepare_siteconf(){
     echo "Placeholder %C not found"
   fi
   if grep -q "%D" < "$EXECDIR"/site.conf; then
-    sed -i "/^%D$/c\\\\'http://autoupdate-lede.ffnw/$vpn/nightly_master\\'," "$EXECDIR"/site.conf
+    sed -i "/^%D$/c\\\\'http://autoupdate-lede.ffnw/$vpn/nightly/master\\'," "$EXECDIR"/site.conf
     echo "Set autoupdater nightly_master URL ..."
   else
     echo "Placeholder %D not found"