diff --git a/script/integration.go b/script/integration.go
index <HASH>..<HASH> 100644
--- a/script/integration.go
+++ b/script/integration.go
@@ -11,6 +11,7 @@ import (
 )
 
 var (
+	bashPath    string
 	debugging   = false
 	erroring    = false
 	maxprocs    = 4
@@ -22,6 +23,8 @@ func mainIntegration() {
 		debugging = true
 	}
 
+	setBash()
+
 	if maxprocs < 1 {
 		maxprocs = 1
 	}
@@ -58,7 +61,7 @@ func mainIntegration() {
 }
 
 func runTest(output chan string, test string) {
-	out, err := exec.Command("/bin/bash", test).CombinedOutput()
+	out, err := exec.Command(bashPath, test).CombinedOutput()
 	if err != nil {
 		erroring = true
 	}
@@ -131,3 +134,16 @@ func allTestFiles() []string {
 	})
 	return files
 }
+
+func setBash() {
+	out, err := exec.Command("which", "bash").Output()
+	if err != nil {
+		fmt.Println("Unable to find bash:", err)
+		os.Exit(1)
+	}
+
+	bashPath = strings.TrimSpace(string(out))
+	if debugging {
+		fmt.Println("Using", bashPath)
+	}
+}
update integration script to look for bash