summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib.sh')
-rw-r--r--include/lib.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 92651c84..f204309d 100644
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -95,6 +95,9 @@ if [ -z "${TMPDIR+x}" ]; then
export TMPDIR="/tmp"
export TMPDIR="$(mktemp -d -t xbmk_XXXXXXXX)"
touch lock || $err "cannot create 'lock' file"
+ rm -Rf xbmkpath || $err "cannot create xbmkpath"
+ mkdir -p xbmkpath || $err "cannot create xbmkpath"
+ export PATH="$PWD/xbmkpath:$PATH" || $err "Can't create xbmkpath"
xbmk_parent="y"
fi