OSDN Git Service

Make cppreopts cleanup if it fails
authorAlex Light <allight@google.com>
Tue, 25 Jul 2017 18:17:05 +0000 (11:17 -0700)
committerAlex Light <allight@google.com>
Wed, 23 Aug 2017 16:02:46 +0000 (09:02 -0700)
commit0b2d37205d738bf702e839b2b21d582c50cffaa2
treeb88c5d9670eadc74808e770fe02adb6aa430d014
parent005fc035cb2bde2f11b4380961601bf32da4ec32
Make cppreopts cleanup if it fails

Previously we would simply leave temporary files lying around if we
failed to rename them for some reason. This change makes us attempt to
clean the temporary files up.

Test: Phone boots.
Bug: 63995897
Change-Id: Ib876a626904bec090fe4f3bd228335feadb6a7c7
cppreopts/cppreopts.sh