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:
Tom Willemse 2013-09-23 00:41:58 +02:00
parent a29dc35143
commit 34b2b9e7ff

View file

@ -22,5 +22,5 @@ if [ "${#@}" -lt 2 ]; then
exit 1
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\")"