diff options
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 ( |