find: warning: unrecognized escape `\|'
Signed-off-by: Christian Melki <[email protected]>
---
rules/timezone.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/timezone.make b/rules/timezone.make
index 794e0d61e..00fd3cff6 100644
--- a/rules/timezone.make
+++ b/rules/timezone.make
@@ -88,7 +88,7 @@ $(STATEDIR)/timezone.install:
$(call add_zoneinfo, $$target, $(TIMEZONE_PKGDIR)/usr/share,
$(PTXDIST_SYSROOT_HOST)/usr); \
done
# Fix entries in zonetab to match the selected PTXCONF_TIMEZONE_* options.
- @grep "\($$(find $(TIMEZONE_PKGDIR)/usr/share/zoneinfo -type f -printf
'%P\|')#\)" \
+ @grep "\($$(find $(TIMEZONE_PKGDIR)/usr/share/zoneinfo -type f -printf
'%P\\|')#\)" \
$(PTXDIST_SYSROOT_HOST)/usr/share/zoneinfo/zone1970.tab > \
$(TIMEZONE_PKGDIR)/usr/share/zoneinfo/zone1970.tab
--
2.34.1