From 164481ce2e29da4efc5950320d0fbbc6d67bf332 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 12 Sep 2017 20:00:46 +0100 Subject: [PATCH] Different way of setting the npm version --- src/freedombone-image-customise | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 76555c33..81d833d0 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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