Open Bug 753439 Opened 12 years ago Updated 2 years ago

makefiles - installer-$(AB_CD) / locale target

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: joey, Unassigned)

Details

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 && \
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.