From 82412a5394acd18064ba62f85f2026a602e692b7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Tue, 25 Nov 2014 23:19:55 -0500 Subject: scripts (all): replace unnecessary rm -rf with rm -f --- (limited to 'builddeps-flashrom') diff --git a/builddeps-flashrom b/builddeps-flashrom index d630827..c549128 100755 --- a/builddeps-flashrom +++ b/builddeps-flashrom @@ -34,8 +34,8 @@ cd flashrom # clean it first make clean # remove modified binaries aswell -rm -rf flashrom_lenovobios_sst -rm -rf flashrom_lenovobios_macronix +rm -f flashrom_lenovobios_sst +rm -f flashrom_lenovobios_macronix # patch flashchips.c to remove the useless Macronix entries (for X60/T60) # makes flashrom work without having to use "-c" switch @@ -48,7 +48,7 @@ else make SHARED=0 CC='gcc -static' fi # restore default flashchips.c -rm -rf flashchips.c +rm -f flashchips.c mv flashchips.c_ flashchips.c # backup those files @@ -63,7 +63,7 @@ else make SHARED=0 CC='gcc -static' fi mv flashrom flashrom_lenovobios_macronix -rm -rf flashchips.c +rm -f flashchips.c # build patched version for SST25VF016B flash chip on Lenovo BIOS X60/T60 cp ../resources/flashrom/patch/flashchips.c_lenovobios_sst flashchips.c @@ -73,7 +73,7 @@ else make SHARED=0 CC='gcc -static' fi mv flashrom flashrom_lenovobios_sst -rm -rf flashchips.c +rm -f flashchips.c # restore default binary/source mv flashchips.c_ flashchips.c -- cgit v0.9.1