]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
normalize paths before sort (i.e. unique), not after
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Jan 2021 21:41:11 +0000 (16:41 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 13 Jan 2021 21:56:36 +0000 (16:56 -0500)
scripts/boiler.mk

index 9c64c7fe65844f18f081134358c0fcee417bc927..3dc86c342937d5bc5aff4c3ebf56802d2ebed95e 100644 (file)
@@ -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