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
This commit is contained in:
Ingo Weinhold 2007-07-31 01:54:24 +00:00
parent 87ebb10a40
commit 81bb654dfb

View File

@ -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-])"
}