Ver Fonte

Fix dind test path issue

Tianon Gravi há 10 anos atrás
pai
commit
5a213b2e8d
1 ficheiros alterados com 3 adições e 1 exclusões
  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"