summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-25 00:12:18 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-25 00:12:18 +0100
commit4e48fa808ec123962c0203282742f9ce641a40d3 (patch)
treec964404c63110a8e89fb4d65e7c19c39d3df8e23 /include/git.sh
parentb4fb2510085dc454ec39fcc55619bd38173776ce (diff)
lib.sh: simplify use of environment variables
don't have a separate variable for them. just export them directly and use them directly. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh
index 0c2e816c..e0eb196b 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -92,7 +92,7 @@ git_prep()
[ "$project" = "coreboot" ] && [ -n "$xtree" ] && [ $# -gt 2 ] && \
[ "$xtree" != "$tree" ] && link_crossgcc "$_loc"
- [ "$xbmk_release" = "y" ] && [ "$_loc" != "src/$project/$project" ] \
+ [ "$XBMK_RELEASE" = "y" ] && [ "$_loc" != "src/$project/$project" ] \
&& rmgit "$tmpgit"
move_repo "$_loc"