Explorar el Código

Fix dind test path issue

Tianon Gravi hace 10 años
padre
commit
5a213b2e8d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      test/tests/docker-dind/run.sh

+ 3 - 1
test/tests/docker-dind/run.sh

@@ -1,5 +1,7 @@
 #!/bin/bash
-set -e
+set -eo pipefail
+
+dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
 
 image="$1"