summaryrefslogtreecommitdiff
path: root/fetch_trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-27 09:25:50 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-27 09:25:50 +0100
commit5a47c01b11a7fc25f7fae0685d288a78220b954a (patch)
tree26394c5de89020eb2d6fc143dd9b3349581d6cf4 /fetch_trees
parent1c8401be25e4749a2eee5ddc77ce7c6ac880c910 (diff)
scripts: put quotes around file/directory names
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'fetch_trees')
-rwxr-xr-xfetch_trees4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch_trees b/fetch_trees
index 91f868c7..d61eb102 100755
--- a/fetch_trees
+++ b/fetch_trees
@@ -40,7 +40,7 @@ main()
err "running lbmk as root as not permitted"
fi
- rm -f ${cfgsdir}/*/seen || err_rm_seen "main 1"
+ rm -f "${cfgsdir}"/*/seen || err_rm_seen "main 1"
printf "Downloading %s and (if available) applying patches\n" \
${project}
@@ -68,7 +68,7 @@ main()
err "${project}/${target}: cannot download source tree"
done
- rm -f ${cfgsdir}/*/seen || err_rm_seen "main 3"
+ rm -f "${cfgsdir}"/*/seen || err_rm_seen "main 3"
}
download_for_target()