소스 검색

Different way of setting the npm version

Bob Mottram 8 년 전
부모
커밋
164481ce2e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise 파일 보기

@@ -581,7 +581,8 @@ install_patchwork() {
581 581
             exit 8793636
582 582
         fi
583 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 586
     fi
586 587
 
587 588
     git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork