libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 1f7008011f37fe2b1ef29a8865a0221d1adeaad0
parent 1def85456156ab670c3e5798b1b101caeb45a248
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Tue,  5 Jan 2016 13:54:39 +0000

download/coreboot: fix unsafe rm -Rf

Diffstat:
resources/scripts/helpers/download/coreboot | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 "../"