From 1f7008011f37fe2b1ef29a8865a0221d1adeaad0 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Tue, 5 Jan 2016 13:54:39 +0000 Subject: download/coreboot: fix unsafe rm -Rf --- resources/scripts/helpers/download/coreboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/scripts/helpers/download/coreboot') 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 "../" -- cgit v1.2.3-70-g09d2