Different way of setting the npm version

This commit is contained in:
Bob Mottram 2017-09-12 20:00:46 +01:00
parent c6b7001cab
commit 164481ce2e
1 changed files with 2 additions and 1 deletions

View File

@ -581,7 +581,8 @@ install_patchwork() {
exit 8793636
fi
chroot "$rootdir" chmod +x /root/npm_install.sh
chroot "$rootdir" npm_install=$NPM_VERSION /root/npm_install.sh
sed -i "s|t=\"\${npm_install}\"|t=\"$NPM_VERSION\"|g" $rootdir/root/npm_install.sh
chroot "$rootdir" /root/npm_install.sh
fi
git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork