Pārlūkot izejas kodu

Fix path of the parent dir of COMPOSE_FILE

Signed-off-by: Albin Kerouanton <[email protected]>
Albin Kerouanton 9 gadi atpakaļ
vecāks
revīzija
99343fd76c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      script/run/run.sh

+ 1 - 1
script/run/run.sh

@@ -35,7 +35,7 @@ if [ "$(pwd)" != '/' ]; then
     VOLUMES="-v $(pwd):$(pwd)"
 fi
 if [ -n "$COMPOSE_FILE" ]; then
-    compose_dir=$(dirname $COMPOSE_FILE)
+    compose_dir=$(realpath $(dirname $COMPOSE_FILE))
 fi
 # TODO: also check --file argument
 if [ -n "$compose_dir" ]; then