bug 801418 - use perl to avoid sed cmd-line errors generated by MOZ_POST_STAGING_COMMAND during 'make package' for mobile. r=mwu

This commit is contained in:
Jonathan Kew 2012-10-17 09:48:14 +01:00
parent 7c3fac5a5a
commit c8cef25b72
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ ifdef MOZ_PKG_MANIFEST_P
MOZ_PKG_MANIFEST = package-manifest
endif
MOZ_POST_STAGING_CMD = find chrome -type f -name *.properties -exec sed -i '/^\#/d' {} \;
MOZ_POST_STAGING_CMD = find chrome -type f -name *.properties -exec $(PERL) -n -i -e 'print unless /^\#/' {} \;
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk

View File

@ -48,7 +48,7 @@ ifdef MOZ_PKG_MANIFEST_P
MOZ_PKG_MANIFEST = package-manifest
endif
MOZ_POST_STAGING_CMD = find chrome -type f -name *.properties -exec sed -i '/^\#/d' {} \;
MOZ_POST_STAGING_CMD = find chrome -type f -name *.properties -exec $(PERL) -n -i -e 'print unless /^\#/' {} \;
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk