From e1b6ccf69ec42f24d751466cee00b265fe44e899 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 16 Oct 2025 15:46:44 +0100 Subject: xbmk: sort global variables alphabetically also separate some of the special ones. this makes the variables easier to read/find. Signed-off-by: Leah Rowe --- include/init.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'include/init.sh') diff --git a/include/init.sh b/include/init.sh index 9904d780..abd06862 100644 --- a/include/init.sh +++ b/include/init.sh @@ -15,27 +15,27 @@ if [ -z "${PATH+x}" ]; then export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" fi +sha512sum="util/sbase/sha512sum" + +aur_notice="" +basetmp="" board="" +checkvarschk="" +checkvarsxbmk="" +configdir="" +datadir="" +is_child="" +python="" +pyver="" reinstall="" +relname="" version="" versiondate="" -aur_notice="" -configdir="" +xbmklock="" xbmkpath="" -datadir="" xbmkpwd="" -relname="" xbmkpwd="" xbtmp="" -python="" -pyver="" -xbmklock="" -checkvarsxbmk="" -checkvarschk="" -is_child="" -basetmp="" - -sha512sum="util/sbase/sha512sum" xbmk_init() { @@ -184,8 +184,8 @@ xbmk_child_set_env() xbmk_child_set_tmp() { badtmp="" - xbtmpchk="" locktmp="" + xbtmpchk="" xbtmpchk="`findpath "$TMPDIR" || err "!findpath $TMPDIR"`" || \ err "!findpath '$TMPDIR'" "xbmk_child_set_tmp" "$@" @@ -323,9 +323,9 @@ xbmk_set_version() xbmk_set_pyver() { - pyv="import sys; print(sys.version_info[:])" python="python3" pyver="2" + pyv="import sys; print(sys.version_info[:])" if ! pybin python3 1>/dev/null; then python="python" -- cgit v1.2.1