Skip to content

Commit

Permalink
Makefile: init SYSCONFDIR before using it (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihoro authored May 8, 2023
1 parent 6d73f74 commit f5bcbe5
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
@@ -1,5 +1,6 @@
PREFIX ?= /usr/local
BINPREFIX ?= "$(PREFIX)/bin"
SYSCONFDIR ?= $(PREFIX)/etc
SHELL := bash

OS = $(shell uname)
Expand All @@ -19,7 +20,6 @@ else
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash-completion/completions"
endif

SYSCONFDIR ?= $(PREFIX)/etc
BINS = $(wildcard bin/git-*)
MANS = $(wildcard man/git-*.md)
MAN_BINS = $(filter-out man/git-extras.md, $(MANS))
Expand Down

0 comments on commit f5bcbe5

Please sign in to comment.