Skip to content

Commit

Permalink
another fix for SynoCommunity#5163
Browse files Browse the repository at this point in the history
- avoid .. in INSTALL_PREFIX_VAR
  • Loading branch information
hgy59 committed Apr 20, 2022
1 parent 4a520ff commit c495514
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 c495514

Please sign in to comment.