Slight tweak to avoid overflowing the command-line size in bindist
authorSimon Marlow <marlowsd@gmail.com>
Mon, 27 Jul 2009 09:09:46 +0000 (09:09 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 27 Jul 2009 09:09:46 +0000 (09:09 +0000)
Not a real fix: if this bites us again we'll have to rethink

rules/bindist.mk

index 13ded8b..d1b0403 100644 (file)
@@ -23,6 +23,6 @@ define bindist
 bindist: bindist_$1
 
 bindist_$1:
-       for f in $$(addprefix $1/,$2); do echo $(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
+       for f in $2; do echo $1/$(BIN_DIST_NAME)/$$$$f >> $(BIN_DIST_LIST); done
 endef