From: Alan T. DeKok Date: Wed, 13 Jan 2021 21:41:11 +0000 (-0500) Subject: normalize paths before sort (i.e. unique), not after X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e716100d95b227a8c05d02a84ed374ad96d95d;p=thirdparty%2Ffreeradius-server.git normalize paths before sort (i.e. unique), not after --- diff --git a/scripts/boiler.mk b/scripts/boiler.mk index 9c64c7fe658..3dc86c34293 100644 --- a/scripts/boiler.mk +++ b/scripts/boiler.mk @@ -730,8 +730,8 @@ $(foreach B,$(INSTALL_BIN),\ $(eval $(call ADD_INSTALL_RULE.bin,${B}))) # Build rules for installation subdirectories -$(foreach D,$(patsubst %/,%,$(sort $(dir ${ALL_INSTALL}))),\ - $(eval $(call ADD_INSTALL_RULE.dir,$(subst //,/,${D})))) +$(foreach D,$(patsubst %/,%,$(sort $(subst //,/,$(dir ${ALL_INSTALL})))),\ + $(eval $(call ADD_INSTALL_RULE.dir,${D}))) # # Now that all of the targets have been defined, include auto-build