aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/run
diff options
context:
space:
mode:
Diffstat (limited to 'hoogle-test/run')
-rwxr-xr-xhoogle-test/run5
1 files changed, 3 insertions, 2 deletions
diff --git a/hoogle-test/run b/hoogle-test/run
index 5e17ad0f..3e72be80 100755
--- a/hoogle-test/run
+++ b/hoogle-test/run
@@ -1,5 +1,6 @@
-#!/bin/bash
+#!/usr/bin/env bash
export HADDOCK_PATH=$(which haddock)
LIB_PATH="$(dirname "$BASH_SOURCE")/../haddock-test/src/"
-runhaskell -i:"$LIB_PATH" "Main.hs" $@
+MAIN_PATH="$(dirname "$BASH_SOURCE")/Main.hs"
+runhaskell -i:"$LIB_PATH" $MAIN_PATH $@