Use correct rootdir when installing nodejs

This commit is contained in:
Bob Mottram 2018-01-06 14:20:21 +00:00
parent a4fae48858
commit bb48a6df61
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ if [[ "\$npm_version" != "${NPM_VERSION}" ]]; then
fi
EOF
chmod +x $rootdir/usr/bin/test_nodejs_install
chroot "$rootdir" /usr/bin/test_nodejs_install
$mesh_install_nodejs_prefix /usr/bin/test_nodejs_install
if [ ! "$?" = "0" ]; then
echo $"nodejs version numbers did not match. Architecture is $NPM_ARCH."
exit 76835282