@@ -688,7 +688,7 @@ EOF
chroot "$rootdir" chmod +x /usr/bin/install_olsr2
chroot "$rootdir" /usr/bin/install_olsr2
- if [ ! -f /usr/local/sbin/olsrd2_static ]; then
+ if [ ! -f $rootdir/usr/local/sbin/olsrd2_static ]; then
echo $'Unable to build OLSR2'
exit 79835392
fi