AndreiUlmeyda / oil

Search-as-you-type cli frontend for the buku bookmarks manager using peco.
GNU General Public License v3.0
147 stars 7 forks source link

Hardcoded interpreter paths makes oil non portable #21

Closed CaptainQuirk closed 3 years ago

CaptainQuirk commented 7 years ago

Hi there !

After installing the needed dependencies and running make install, I get an error running oil :

/usr/bin/oil: /usr/lib/oil/json-to-line.jq : /bin/jq : mauvais interpréteur: Aucun fichier ou dossier de ce type
/usr/bin/oil: /usr/lib/oil/format-columns.awk : /bin/awk : mauvais interpréteur: Aucun fichier ou dossier de ce type

After a quick look at the source files, I see that the shebang is followed by hardcoded paths. My awk is not in /bin, as for jq, I installed it with LinuxBrew, so the path is completely different.

Would you please consider changing the interpreter ?

Thanks in advance