From 81bb654dfb610a9c741046eb13a0d153180d6e61 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 31 Jul 2007 01:54:24 +0000 Subject: [PATCH] Made the ResComp and ResAttr actions spaces-in-file-names-proof. AddDirectoryToHaikuImage with attributes does also work for directory names with spaces now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21761 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BeOSRules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/jam/BeOSRules b/build/jam/BeOSRules index 1f5c1ceaa9..9b16c083c9 100644 --- a/build/jam/BeOSRules +++ b/build/jam/BeOSRules @@ -221,7 +221,7 @@ rule ResComp actions ResComp1 { $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) - cat $(2[2-]) | $(CC) -E $(CCDEFS) $(HDRS) - | egrep -v '^#' | $(2[1]) $(RCHDRS) --auto-names -o $(1) - + cat "$(2[2-])" | $(CC) -E $(CCDEFS) $(HDRS) - | egrep -v '^#' | $(2[1]) $(RCHDRS) --auto-names -o "$(1)" - } rule ResAttr attributeFile : _resourceFiles @@ -257,5 +257,5 @@ actions ResAttr1 { $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) rm -f $(1) - $(2[1]) -o $(1) $(2[2-]) + $(2[1]) -o "$(1)" "$(2[2-])" }