#!/bin/bash
if [[ $1 =~ ^[~\/] ]]
then
# its already an absolute path
lein exec "$@"
else
# This is a relative path, so make it absolute,
# using the current directory as the base.
lein exec "`pwd`/$@"
fi