summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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 "../"