Skip to content

Commit

Permalink
directories .mk: avoid .. in INSTALL_PREFIX_VAR (#5220)
Browse files Browse the repository at this point in the history
Co-Author: hgy59 <hpgy59@gmail.com>
  • Loading branch information
th0ma7 authored Apr 21, 2022
1 parent 7bd9b21 commit 3d30bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/spksrc.directories.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ endif
#
ifeq ($(call version_ge, ${TCVERSION}, 7.0),1)
ifeq ($(lastword $(subst /, ,$(INSTALL_PREFIX))),target)
INSTALL_PREFIX_VAR = $(INSTALL_PREFIX)/../var
INSTALL_PREFIX_VAR = $(shell dirname $(INSTALL_PREFIX))/var
endif
endif
ifeq ($(strip $(INSTALL_PREFIX_VAR)),)
Expand Down

0 comments on commit 3d30bc6

Please sign in to comment.