Browse Source

Change run.sh to soft link

Moghedrin 10 years ago
parent
commit
768a530672

+ 0 - 9
test/tests/haskell-cabal/run.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-set -e
-
-dir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
-
-inContainerPath="/tmp/bash"
-cmd=( "$inContainerPath/container.sh" )
-
-docker run --rm -v "$dir":"$inContainerPath":ro -w "$inContainerPath" --entrypoint bash "$1" "${cmd[@]}"

+ 1 - 0
test/tests/haskell-cabal/run.sh

@@ -0,0 +1 @@
+run-bash-in-container.sh

+ 0 - 9
test/tests/haskell-ghci/run.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-set -e
-
-dir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
-
-inContainerPath="/tmp/bash"
-cmd=( "$inContainerPath/container.sh" )
-
-docker run --rm -v "$dir":"$inContainerPath":ro -w "$inContainerPath" --entrypoint bash "$1" "${cmd[@]}"

+ 1 - 0
test/tests/haskell-ghci/run.sh

@@ -0,0 +1 @@
+run-bash-in-container.sh