ImageRules: Fix adding directory attrs.

There is no variable "dir" in this rule, only "directory".
This commit is contained in:
Augustin Cavalier 2018-11-15 22:17:46 -05:00
parent 795f1571b3
commit 9283f47bec

View File

@ -143,7 +143,7 @@ rule AddDirectoryToContainer container : directoryTokens : attributeFiles
if $(attributeFiles) {
SEARCH on $(attributeFiles)
+= [ FDirName $(HAIKU_TOP) src data directory_attrs ] ;
ATTRIBUTE_FILES on $(dir) += $(attributeFiles) ;
ATTRIBUTE_FILES on $(directory) += $(attributeFiles) ;
}
return $(directory) ;
@ -655,9 +655,6 @@ rule CreateContainerMakeDirectoriesScript container : script
Depends $(script) : $(dummyTarget) ;
serializationDependency = $(dummyTarget) ;
Echo $(dummyTarget)
$(initScript) $(attributeFile) ;
AppendToContainerMakeDirectoriesScriptAttributes $(dummyTarget)
: $(initScript) $(attributeFile) ;
}