diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-05 08:54:39 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-05 08:54:39 (EST) |
commit | 1f7008011f37fe2b1ef29a8865a0221d1adeaad0 (patch) | |
tree | 6716eaf0c3ef7f0c1a9b708c178dad23469ab619 /resources/scripts | |
parent | 1def85456156ab670c3e5798b1b101caeb45a248 (diff) | |
download | libreboot-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.zip libreboot-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.tar.gz libreboot-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.tar.bz2 |
download/coreboot: fix unsafe rm -Rf
Diffstat (limited to 'resources/scripts')
-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 a080c84..e5e39d1 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 "../" |