Skip to content

Commit

Permalink
Fix install command.
Browse files Browse the repository at this point in the history
Drop -o and -g options from install invocation, they are not needed and
actively harmful when install is running as non-root.
  • Loading branch information
porridge committed Dec 17, 2024
1 parent 693604c commit 4cb1378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install-mo: $(LINGUAS:%=install-mo-%)

.PHONY: install-mo-%
install-mo-%: po/%.mo
install -o root -g root -m 0644 -D $< $(PREFIX)/usr/share/locale/$*/LC_MESSAGES/bambam.mo
install -m 0644 -D $< $(PREFIX)/usr/share/locale/$*/LC_MESSAGES/bambam.mo

po/%.po: bambam.pot
msgmerge -U $@ $<
Expand Down

0 comments on commit 4cb1378

Please sign in to comment.