Browse Source

Fix dind test path issue

Tianon Gravi 10 năm trước cách đây
mục cha
commit
5a213b2e8d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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"