From c6b7001cab691298d7a34d7e613a4d8f064a55b1 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 12 Sep 2017 19:41:14 +0100
Subject: [PATCH] npm version

---
 src/freedombone-image-customise | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 834be2f7c..76555c334 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -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
     fi
 
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
-- 
GitLab