diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-12-16 09:58:23 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-12-16 09:58:23 -0600 |
commit | a18c4b0f38eddc3c106091a3cc2f17655eedf286 (patch) | |
tree | c3a8df4d68c4d187d03ee4486ee42a309a5f66c7 /postprocess | |
parent | 74b960ef3cd96f0f0e170234bc0947bfb51723f4 (diff) |
dumb down the recipe to accomodate the feature-poor BSD 'find'
Change-Id: I25bf1a16768e964b2771099262215ea157e39358
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index f302c857d82f..26291b39a026 100644 --- a/postprocess/CustomTarget_registry.mk +++ b/postprocess/CustomTarget_registry.mk @@ -576,7 +576,7 @@ $(call gb_CustomTarget_get_workdir,postprocess/registry)/fcfg_langpack_%.list : && unzip $< \ && cd .. \ && echo '<list>' > $@ \ - && find fcfg_langpack_$*.unzip -name *.xcu -size +0c -printf '<filename>%p</filename>\n' >> $@ \ + && ( find fcfg_langpack_$*.unzip -name *.xcu -size +0c -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ && echo '</list>' >> $@ \ ) @@ -596,7 +596,7 @@ $(call gb_CustomTarget_get_workdir,postprocess/registry)/registry_%.list : && rm -rf * \ && unzip $(call gb_Zip_get_target,registry_$*) \ && cd .. \ - && find registry_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \ + && (find registry_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) # Add fcfg_drivers_*.zip content to *.list: @@ -607,7 +607,7 @@ ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE))) && rm -rf * \ && unzip $(call gb_Zip_get_target,$(driver)_$*) \ && cd .. \ - && find $(driver)_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \ + && (find $(driver)_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) \ ) endif @@ -618,7 +618,7 @@ ifeq ($(ENABLE_ONLINE_UPDATE),TRUE) && rm -rf * \ && unzip $(call gb_Zip_get_target,updchk_$*) \ && cd .. \ - && find updchk_$*.unzip -name *.xcu -printf '<filename>%p</filename>\n' >> $@ \ + && (find updchk_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '<filename>{}</filename>\n') >> $@ \ ) endif echo '</list>' >> $@ |