summaryrefslogtreecommitdiff
path: root/resources/scripts/build/src
diff options
context:
space:
mode:
authorRiku Viitanen <riku.viitanen@protonmail.com>2023-08-21 20:35:06 +0300
committerRiku Viitanen <riku.viitanen@protonmail.com>2023-08-22 16:43:13 +0300
commitfa926632148b78ed327f5d674dad9a5ee243af9a (patch)
tree34d6f3ea5e461d7a773df230df09602a35668499 /resources/scripts/build/src
parent1bd842097b544d8fee6416c74fb33dd0dcfac460 (diff)
memtest86+ v6.20
uses 32-bit variant for x86_32 arch. 64-bit for x86_64. resources/scripts/build/src/for: modified it a bit. when building e.g. "memtest86plus/build32" it correctly fetches "memtest86plus" instead. but builds memtest86plus/build32, which is inside that git repo Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Diffstat (limited to 'resources/scripts/build/src')
-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
(