Searched hist:"3957863 bcf381c4bfa1f62ad33353b723974dbfe" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/mk/ |
| H A D | checkconf.mk | 3957863bcf381c4bfa1f62ad33353b723974dbfe Wed Nov 08 14:51:52 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> build: simplify mv-if-changed
In mv-if-changed(file1, file2), there is no need to check if file2 exists before trying to compare both files. Indeed, if file2 does not exist, cmp -s will return non-zero and the second branch of the conditional will be taken anyway.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Joakim Bech <joakim.bech@linaro.org>
|