Hacker News new | ask | show | jobs
by Hurtak 3677 days ago
> require is relative to script file instead of execution

  cd "$(dirname "$0")"
can solve that