VR-25 / djs

Daily Job Scheduler
https://github.com/Magisk-Modules-Repo/djs
GNU General Public License v3.0
82 stars 12 forks source link

Build script has syntax error when invoked by Ubuntu `sh` #5

Closed lefth closed 3 years ago

lefth commented 4 years ago

I'm running WSL and invoked build.sh as described in the README:

$ sh build.sh build.sh: 8: .: check-syntax.sh: not found $ ./build.sh ./build.sh: 8: .: check-syntax.sh: not found $ ls -l which sh lrwxrwxrwx 1 root root 4 Apr 16 23:52 /bin/sh -> dash

This can be fixed by adding a directory: change . check-syntax.sh to . ./check-syntax.sh, since that syntax is supported.