From 41e25701689a8d77190b2d8f890508b9c4f30c10 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 15 Jun 2021 22:06:15 +0200 Subject: docker: fix type and readlink/dirname order --- docker/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/build.sh b/docker/build.sh index e40b83d..0344477 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,9 +1,9 @@ #!/bin/bash # Copyright (c) 2020 Johannes Stoelp -image=${1:-match-box} +image=${1:-matcha-box} -script_dir=$(readlink -f $(dirname $0)) +script_dir=$(dirname $(readlink -f $0)) if ! docker build -t $image $script_dir ; then echo "ERR: Failed to build docker image!" -- cgit v1.2.3