summaryrefslogtreecommitdiff
path: root/src/profile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.sh')
-rwxr-xr-xsrc/profile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
index 6eb3bbf..3f402fe 100755
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -31,4 +31,6 @@ export LOG_FILE="/var/log/xipkg.log"
export BUILDFILES_DIR=$(parseconf -v dir.buildfiles)
export BUILDFILES_GIT=$(parseconf -v buildfiles_git)
+export MIRROR_DIR=$(parseconf -v dir.mirror)
+
[ ! -f ${LOG_FILE} ] && mkdir -p /var/log && touch ${LOG_FILE}