rm -f is as good as if [ -f ... ] ; then rm ...
authorAaron Kaplan <aaron@lo-res.org>
Tue, 21 Jan 2014 00:29:26 +0000 (01:29 +0100)
committerAaron Kaplan <aaron@lo-res.org>
Tue, 21 Jan 2014 00:29:26 +0000 (01:29 +0100)
src/Makefile

index b236929..e89c155 100644 (file)
@@ -49,4 +49,4 @@ clean:
                        applied-crypto-hardening.out
        rm -rf applied-crypto-hardening/
        rm -rf gitHeadInfo.gin
                        applied-crypto-hardening.out
        rm -rf applied-crypto-hardening/
        rm -rf gitHeadInfo.gin
-       if [ -f "applied-crypto-hardening.txt" ]; then rm "applied-crypto-hardening.txt"; fi
+       rm -f applied-crypto-hardening.txt