Procházet zdrojové kódy

Use correct rootdir when installing nodejs

Bob Mottram před 7 roky
rodič
revize
bb48a6df61
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/freedombone-utils-nodejs

+ 1
- 1
src/freedombone-utils-nodejs Zobrazit soubor

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