From a18c4b0f38eddc3c106091a3cc2f17655eedf286 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 16 Dec 2012 09:58:23 -0600 Subject: dumb down the recipe to accomodate the feature-poor BSD 'find' Change-Id: I25bf1a16768e964b2771099262215ea157e39358 --- postprocess/CustomTarget_registry.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'postprocess') 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 '' > $@ \ - && find fcfg_langpack_$*.unzip -name *.xcu -size +0c -printf '%p\n' >> $@ \ + && ( find fcfg_langpack_$*.unzip -name *.xcu -size +0c -print0 | xargs -n1 -0 -I '{}' echo '{}\n') >> $@ \ && echo '' >> $@ \ ) @@ -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 '%p\n' >> $@ \ + && (find registry_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '{}\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 '%p\n' >> $@ \ + && (find $(driver)_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '{}\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 '%p\n' >> $@ \ + && (find updchk_$*.unzip -name *.xcu -print0 | xargs -n1 -0 -I '{}' echo '{}\n') >> $@ \ ) endif echo '' >> $@ -- cgit