summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh3
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"