michaeldfallen / git-radar

A heads up display for git
MIT License
2.59k stars 85 forks source link

Weird issue with Makefile #114

Open holmboe opened 6 years ago

holmboe commented 6 years ago

This is a somewhat odd message and I cannot really get the ins and outs of why this is happening:

me@laptop:~.*⟫ mkdir radar-test/
me@laptop:~.*⟫ cd radar-test/
me@laptop:~/radar-test.*⟫ touch Makefile
me@laptop:~/radar-test.*⟫ Makefile
bash: /home/me/code/forks/git-radar/Makefile: Permission denied
126 me@laptop:~/radar-test.*⟫ ls -ld /home/me/code/forks/git-radar/Makefile
-rw-rw-r-- 1 me me 1030 jun 14  2016 /home/me/code/forks/git-radar/Makefile
me@laptop:~.*⟫ 

Notice that I don't prefix the Makefile with ./Makefile, and of course the Makefile is not executable (no exec bit and no shebang), not the Makefile in the test directory, and neither the Makefile in git-radar.

hallzy commented 6 years ago

It looks like you are trying to execute Makefile and it looks like it tried to execute the Makefile in your git-radar fork... I presume because that directory is in your path somewhere. Permission is denied because the file Makefile doesn't have an execute permission

What exactly is it that you are trying to do and what are you expecting to happen?

hallzy commented 6 years ago

any updates?