diff options
author | Matt Hunter <m@lfurio.us> | 2025-04-13 15:01:18 -0400 |
---|---|---|
committer | Matt Hunter <m@lfurio.us> | 2025-04-13 15:01:18 -0400 |
commit | 0695fe20968ff708cfdaadaaa262abb17f02672f (patch) | |
tree | 7f60fcbf005b531d1cee1116da870cf5d4686344 /Makefile | |
parent | 07de57717b87740dcf01fad7449d3bd7594d4369 (diff) | |
download | git-sonar-0695fe20968ff708cfdaadaaa262abb17f02672f.tar.gz git-sonar-0695fe20968ff708cfdaadaaa262abb17f02672f.zip |
Fix potential installation problems with odd file permissions
It is possible for git-sonar to be installed in such a way that it is
only executable by root. For example, by running `make install` after
checking out the git tree by a user with a restrictive umask value.
Use the install command in the Makefile to explicitly set the correct
mode bits of the installed git-sonar script.
Signed-off-by: Matt Hunter <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ all: install: $(SOURCE) @echo 'Installing in' $(PREFIX)/bin '...' mkdir -p $(PREFIX)/bin - cp $(PWD)/$(SOURCE) $(PREFIX)/bin + install -m 755 $(SOURCE) $(PREFIX)/bin develop: $(SOURCE) @echo 'Symlinking in' $(PREFIX)/bin '...' |