Skip to content

Commit 0fda955

Browse files
ihorovanpipy
authored andcommitted
Makefile: init SYSCONFDIR before using it (tj#1044)
1 parent d27361d commit 0fda955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PREFIX ?= /usr/local
22
BINPREFIX ?= "$(PREFIX)/bin"
3+
SYSCONFDIR ?= $(PREFIX)/etc
34
SHELL := bash
45

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

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

0 commit comments

Comments
 (0)