summaryrefslogtreecommitdiff
path: root/resources/scripts/build/src/for
diff options
context:
space:
mode:
authorLeah Rowe <vimuser@noreply.codeberg.org>2023-08-22 13:47:40 +0000
committerLeah Rowe <vimuser@noreply.codeberg.org>2023-08-22 13:47:40 +0000
commitdfb93166bbb69745e7f08a469cca98c7ed45aa09 (patch)
tree34d6f3ea5e461d7a773df230df09602a35668499 /resources/scripts/build/src/for
parent1bd842097b544d8fee6416c74fb33dd0dcfac460 (diff)
parentfa926632148b78ed327f5d674dad9a5ee243af9a (diff)
Merge pull request 'memtest86+ v6.20' (#116) from Riku_V/lbmk:memtest into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/116
Diffstat (limited to 'resources/scripts/build/src/for')
-rwxr-xr-xresources/scripts/build/src/for6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/scripts/build/src/for b/resources/scripts/build/src/for
index 032895e2..6761f160 100755
--- a/resources/scripts/build/src/for
+++ b/resources/scripts/build/src/for
@@ -44,9 +44,9 @@ main()
[ -z "${project}" ] && err "project name not specified"
[ "${project}" = "ich9utils" ] && project="util/ich9utils"
- [ -d "${project}" ] || ./fetch "${project}" || \
- err "Cannot download project, ${project}"
- [ -d "${project}" ] || err "Project, ${project}, not downloaded"
+ [ -d "${project}" ] || ./fetch "${project%/*}" \
+ || err "Cannot download project, ${project%/*}"
+ [ -d "${project}" ] || err "Project, ${project%/*}, not downloaded"
if [ "${project}" = "uefitool" ]; then
(