Sfoglia il codice sorgente

Use correct rootdir when installing nodejs

Bob Mottram 7 anni fa
parent
commit
bb48a6df61
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/freedombone-utils-nodejs

+ 1
- 1
src/freedombone-utils-nodejs Vedi File

150
 fi
150
 fi
151
 EOF
151
 EOF
152
     chmod +x $rootdir/usr/bin/test_nodejs_install
152
     chmod +x $rootdir/usr/bin/test_nodejs_install
153
-    chroot "$rootdir" /usr/bin/test_nodejs_install
153
+    $mesh_install_nodejs_prefix /usr/bin/test_nodejs_install
154
     if [ ! "$?" = "0" ]; then
154
     if [ ! "$?" = "0" ]; then
155
         echo $"nodejs version numbers did not match. Architecture is $NPM_ARCH."
155
         echo $"nodejs version numbers did not match. Architecture is $NPM_ARCH."
156
         exit 76835282
156
         exit 76835282