diff --git a/builder.sh b/builder.sh
index f9182820a9aa4bfb80ed6c2f6deab6663e953b55..d41da1a6cd10f0783855fa8b4ada1b6892099965 100755
--- a/builder.sh
+++ b/builder.sh
@@ -96,7 +96,7 @@ sed  -i -e "s/AUTOUPDATERBRANCH/$BRANCH/g" site/site.conf
 # remove old images to make sure we only upload the new shiny stuff
 rm -rf output/images
 mkdir -p output
-mkdir -o output/cmd
+mkdir -p output/cmd
 
 
 # update toolchain to current release