diff options
author | Will Thompson <will@willthompson.co.uk> | 2011-07-27 22:55:40 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2011-07-27 22:55:40 +0100 |
commit | 85e4a95620d0d90733ccc1280bb282d516ff65ec (patch) | |
tree | 6de09511b6e9d1159e10b3ce443191f1f458e047 /run-uninstalled.sh | |
parent | 0c146eb7e40cd916a36fb7421962e9b56401081e (diff) |
Move data out of root dir
Diffstat (limited to 'run-uninstalled.sh')
-rwxr-xr-x | run-uninstalled.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run-uninstalled.sh b/run-uninstalled.sh index bf0f0cb..1560452 100755 --- a/run-uninstalled.sh +++ b/run-uninstalled.sh @@ -1,10 +1,12 @@ #!/bin/sh set -e -bustle_datadir="$(dirname ${0}})" +root="$(dirname ${0}})" + +bustle_datadir="${root}"/data export bustle_datadir -bustle="${bustle_datadir}"/dist/build/bustle/bustle +bustle="${root}"/dist/build/bustle/bustle cabal build exec $bustle "${@}" |