aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download/coreboot
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-05 13:54:39 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-01-05 13:54:39 +0000
commit1f7008011f37fe2b1ef29a8865a0221d1adeaad0 (patch)
tree6716eaf0c3ef7f0c1a9b708c178dad23469ab619 /resources/scripts/helpers/download/coreboot
parent1def85456156ab670c3e5798b1b101caeb45a248 (diff)
downloadlibrebootfr-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.tar.gz
librebootfr-1f7008011f37fe2b1ef29a8865a0221d1adeaad0.zip
download/coreboot: fix unsafe rm -Rf
Diffstat (limited to 'resources/scripts/helpers/download/coreboot')
-rwxr-xr-xresources/scripts/helpers/download/coreboot2
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 "../"