torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
556 stars 484 forks source link

Potential error in install-deps assigning $PATH #236

Open ghost opened 7 years ago

ghost commented 7 years ago

https://github.com/torch/distro/blob/b6ea0652502cda80ccc174c47459ec1b0dc2a9c6/install-deps#L15 this looks like a potential error - sorry if it isn't, feel free to close the ticket in that case. But won't this break if $PATH is empty and result in PATH=:/sbin which will add the pwd to the $PATH search?