makefiles - installer-$(AB_CD) / locale target

NEW
Unassigned

Status

()

Core
Build Config
6 years ago
6 years ago

People

(Reporter: joey, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Find command being run to purge locale specific content can report spurious warnings.

find | xargs can be made conditional by prefixing the command with
$(if $(wildcard $(path)),find)

--no-run-if-empty should also be appended on the xargs command to squelch warnings when the directory exists but contains no files.


06:55:38     INFO - Running command: ['make', 'installers-he'] in /builds/slave/m-cen-andrd-l10n-3/build/mozilla-central/obj-l10n/mobile/android/locales
06:55:38     INFO -  rm -f -rf /builds/slave/m-cen-andrd-l10n-3/build/mozilla-central/obj-l10n/mobile/android/locales/../../../dist/l10n-stage/fennec
06:55:38     INFO -  rm -f ../../../mobile/android/base/res/values-*/strings.xml
06:55:38     INFO -  find /builds/slave/m-cen-andrd-l10n-3/build/mozilla-central/obj-l10n/mobile/android/locales/../../../dist/l10n-stage/fennec -maxdepth 1 -print0 | xargs -0 rm -f -r
06:55:38     INFO -  find: /builds/slave/m-cen-andrd-l10n-3/build/mozilla-central/obj-l10n/mobile/android/locales/../../../dist/l10n-stage/fennec: No such file or directory
06:55:38     INFO -  /builds/slave/m-cen-andrd-l10n-3/build/mozilla-central/obj-l10n/config/nsinstall -D ../../../dist/l10n-stage
06:55:38     INFO -  cd ../../../dist/l10n-stage && \
You need to log in before you can comment on or make changes to this bug.