build/i18n-merge-master: ignore apps deleted in master 4048/head
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 13 May 2020 14:49:39 +0000 (17:49 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 13 May 2020 15:06:31 +0000 (18:06 +0300)
commite4baee8d254fef2688381ea33072db5a48cd0495
tree4bfa42ded60f0ea4a15010fa2f02956fc60eedf9
parentbcdb9fdc7f57f0a68991b560659ba6e1b7e193db
build/i18n-merge-master: ignore apps deleted in master

Refine the code to ignore apps that have been deleted from master
but still exist in release branches. E.g. luci-app-samba

Previously the unhandled git error from non-existing master
mangled the .po files in the release branch: the 18n header was
removed and all non-ASCII chars were deleted from translation.

Fix this by processing only those files where 'git show' succeeds.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
build/i18n-merge-master.pl