File: run-uninstalled.sh

package info (click to toggle)
bustle 0.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 720 kB
  • sloc: haskell: 3,938; ansic: 939; makefile: 110; sh: 8
file content (15 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

root="$(dirname ${0}})"

# Cabal generates code that uses this
bustle_datadir="${root}"
# For Gtk+'s benefit
XDG_DATA_HOME=$bustle_datadir/data
export bustle_datadir XDG_DATA_HOME

bustle="${root}"/dist/build/bustle/bustle

cabal build 1>&2
exec $bustle "${@}"