Explorar el Código

Different way of setting the npm version

Bob Mottram hace 8 años
padre
commit
164481ce2e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise Ver fichero

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