diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-25 23:19:55 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-25 23:19:55 (EST) |
commit | 82412a5394acd18064ba62f85f2026a602e692b7 (patch) | |
tree | c97294812aaf3a01de352f6080c9d5e6fec9e710 /builddeps-flashrom | |
parent | 2ccadda5b6d1505c12d49fb1c9dcc0f9631a8ad4 (diff) | |
download | libreboot-82412a5394acd18064ba62f85f2026a602e692b7.zip libreboot-82412a5394acd18064ba62f85f2026a602e692b7.tar.gz libreboot-82412a5394acd18064ba62f85f2026a602e692b7.tar.bz2 |
scripts (all): replace unnecessary rm -rf with rm -f
Diffstat (limited to 'builddeps-flashrom')
-rwxr-xr-x | builddeps-flashrom | 10 |
1 files changed, 5 insertions, 5 deletions
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 |