diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-05 13:54:39 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-05 13:54:39 +0000 |
commit | 1f7008011f37fe2b1ef29a8865a0221d1adeaad0 (patch) | |
tree | 6716eaf0c3ef7f0c1a9b708c178dad23469ab619 /resources/scripts/helpers | |
parent | 1def85456156ab670c3e5798b1b101caeb45a248 (diff) | |
download | librebootfr-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.tar.gz librebootfr-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.zip |
download/coreboot: fix unsafe rm -Rf
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/download/coreboot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index a080c84d..e5e39d1a 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -248,7 +248,7 @@ rm -Rf */*/3rdparty/*/.git* # (the build system will create symlinks later when building the ROM images) for payload in *; do if [ "${payload##*/}" != "crossgcc" ]; then - rm -Rf ${payload}/*/util/crossgcc/ + rm -Rf ${payload:?}/*/util/crossgcc/ fi done cd "../" |