summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:28:06 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:28:06 +0100
commitbc16b2767d8ec9e8c84828df48e7eab793713003 (patch)
tree9079f7d48b136f49a10e94ea54b0851ec03df22c /src/profile.sh
parent038a56d555833d2db3af772b890a8fc8c283120e (diff)
added build command
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/profile.sh b/src/profile.sh
index 0ddcc0a..683738e 100755
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -1,10 +1,11 @@
#!/bin/sh
. /usr/lib/colors.sh
+. /usr/lib/glyphs.sh
+
export HBAR_COMPLETE="-c ${GREEN}${BG_DEFAULT}"
export HBAR_RED="-c ${BLACK}${BG_RED}"
-. /usr/lib/glyphs.sh
export CONF_FILE="/etc/xipkg.conf"
@@ -23,4 +24,8 @@ export PACKAGE_CACHE="${CACHE_DIR}/packages"
export SYNC_CACHE="${CACHE_DIR}/sync"
export LOG_FILE="/var/log/xipkg.log"
+
+export BUILDFILES_DIR=$(parseconf -v dir.buildfiles)
+export BUILDFILES_GIT=$(parseconf -v buildfiles_git)
+
[ ! -f ${LOG_FILE} ] && mkdir -p /var/log && touch ${LOG_FILE}