Przeglądaj źródła

Fix python-hy to not use bash

The python alpine variant does not ship bash so we use /bin/sh instead.
Natanael Copa 10 lat temu
rodzic
commit
4335f19ac3

+ 1 - 1
test/tests/python-hy/container.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 set -e
 
 pip install -q hy

+ 1 - 1
test/tests/python-hy/run.sh

@@ -1 +1 @@
-../run-bash-in-container.sh
+../run-sh-in-container.sh

+ 7 - 0
test/tests/run-sh-in-container.sh

@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
+runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
+
+source "$runDir/run-in-container.sh" "$testDir" "$1" sh ./container.sh