build/i18n-merge-master: ignore apps deleted in master
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 13 May 2020 14:49:39 +0000 (17:49 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 15 May 2020 14:12:25 +0000 (17:12 +0300)
commitb4dbbb432e4f6e1bc57f146a04a5639b885408f9
treea5afbdeb68044840bedb24b9eee5f758bfb5defe
parent9b69e8f9cc41654e3b09352832c5154025bf2561
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>
(cherry picked from commit e4baee8d254fef2688381ea33072db5a48cd0495)
build/i18n-merge-master.pl