@@ -581,7 +581,7 @@ install_patchwork() {
exit 8793636
fi
chroot "$rootdir" chmod +x /root/npm_install.sh
- chroot "$rootdir" /root/npm_install.sh $NPM_VERSION
+ chroot "$rootdir" npm_install=$NPM_VERSION /root/npm_install.sh
git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork