Run kaarvok from anywhere
When running `kaarvok' always add the current directory to the `load-path'. This way, as long as `kaarvok.el' is in the same directory as `kaarvok', `kaarvok.el' can always be found.
This commit is contained in:
parent
a29dc35143
commit
34b2b9e7ff
1 changed files with 1 additions and 1 deletions
2
kaarvok
2
kaarvok
|
@ -22,5 +22,5 @@ if [ "${#@}" -lt 2 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/bin/emacs -Q -batch -l kaarvok.el -eval \
|
/usr/bin/emacs -Q -batch -L $(dirname $0) -l kaarvok.el -eval \
|
||||||
"(kaarvok-create-project-from-template \"$1\" \"$2\")"
|
"(kaarvok-create-project-from-template \"$1\" \"$2\")"
|
||||||
|
|
Loading…
Reference in a new issue