From 507783123fbcbea01646782b98c25e3764128850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Sun, 7 Jan 2018 15:05:54 +0100 Subject: [PATCH] fix typo --- docker-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-deploy b/docker-deploy index 7f4c850..c4df794 100755 --- a/docker-deploy +++ b/docker-deploy @@ -48,9 +48,9 @@ for f in $*; do echo "ERROR: no file ${f}.yaml" 1>&2 exit 1 fi - echo "... deploying $f" + echo "... deploying ${f##*/}" for d in $(sed -n 's/^ *source: *//p' ${f}.yaml); do test -e $d || mkdir -p $d done - docker stack deploy --compose-file ${f}.yaml ${##*/f} + docker stack deploy --compose-file ${f}.yaml ${f##*/} done