diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-07 19:04:52 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-07 19:04:52 +0100 |
commit | e1628ad8f3e63428888b42d0c49c3fe6b3c9d006 (patch) | |
tree | 8cfb874f4128fb4183c104714e3539ed0dd40c09 | |
parent | 40a944118f2af08ab37719c07cf7e826267a0eef (diff) |
init.sh: export LOCALVERSION in set_env
Don't do it in set_version
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/init.sh b/include/init.sh index 6ccdf13f..1bf52eef 100644 --- a/include/init.sh +++ b/include/init.sh @@ -119,11 +119,12 @@ xbmk_set_version() printf "%s\n" "$versiondate" > ".versiondate" || err "can't save date" relname="$projectname-$version" - export LOCALVERSION="-$projectname-${version%%-*}" } xbmk_set_env() { + export LOCALVERSION="-$projectname-${version%%-*}" + # XBMK_CACHE is a directory, for caching downloads and git repon [ -z "${XBMK_CACHE+x}" ] && export XBMK_CACHE="$xbmkpwd/cache" [ -z "$XBMK_CACHE" ] && export XBMK_CACHE="$xbmkpwd/cache" |