Skip to content

arduino-builder fails if tools directory contains broken symlinks #159

Closed
@lmoellendorf

Description

@lmoellendorf

Steps to reproduce:

Create a tools dir with broken symlink:
mkdir tools-dir
ln -s /no/way tools-dir/broken-link

Call arduino-builider with created tools dir:
~/Makeblock/arduino-1.6.9/arduino-builder -hardware "~/Makeblock/arduino-1.6.9/hardware/" -tools "~/tools-dir" -fqbn "arduino:avr:uno" -verbose ~/Arduino/mBot/mBot-default-program/mBot-default- program.ino

The error is:
stat tools-dir/broken-link: no such file or directory

Note, this error also occurs if a valid tools directory is specified which contains broken sym-links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions