diff --git a/helpers/make-usb-creator b/helpers/make-usb-creator
index adc5ddd9ff4ba0389b377be2a94cc35b1a183d59..7d4b0480c9d46eee64e28900862f3c28b110f553 100644
--- a/helpers/make-usb-creator
+++ b/helpers/make-usb-creator
@@ -39,7 +39,7 @@ changelog "Rebranded for Trisquel"
 compile
 
 exit 0
-if [ $ARCH = "i386" ]
+if [ $JAILARCH = "i386" ]
 then
 # Let's build the win32 executable
     apt-get -y --force-yes install mingw32 wine bzr