diff options
author | Riku Viitanen <riku.viitanen@protonmail.com> | 2023-08-21 20:35:06 +0300 |
---|---|---|
committer | Riku Viitanen <riku.viitanen@protonmail.com> | 2023-08-22 16:43:13 +0300 |
commit | fa926632148b78ed327f5d674dad9a5ee243af9a (patch) | |
tree | 34d6f3ea5e461d7a773df230df09602a35668499 /resources/scripts/build/src | |
parent | 1bd842097b544d8fee6416c74fb33dd0dcfac460 (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-x | resources/scripts/build/src/for | 6 |
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 ( |