Quellcode durchsuchen

Different way of setting the npm version

Bob Mottram vor 7 Jahren
Ursprung
Commit
164481ce2e
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise Datei anzeigen

581
             exit 8793636
581
             exit 8793636
582
         fi
582
         fi
583
         chroot "$rootdir" chmod +x /root/npm_install.sh
583
         chroot "$rootdir" chmod +x /root/npm_install.sh
584
-        chroot "$rootdir" npm_install=$NPM_VERSION /root/npm_install.sh
584
+        sed -i "s|t=\"\${npm_install}\"|t=\"$NPM_VERSION\"|g" $rootdir/root/npm_install.sh
585
+        chroot "$rootdir" /root/npm_install.sh
585
     fi
586
     fi
586
 
587
 
587
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
588
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork