fix typo
This commit is contained in:
@@ -48,9 +48,9 @@ for f in $*; do
|
|||||||
echo "ERROR: no file ${f}.yaml" 1>&2
|
echo "ERROR: no file ${f}.yaml" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "... deploying $f"
|
echo "... deploying ${f##*/}"
|
||||||
for d in $(sed -n 's/^ *source: *//p' ${f}.yaml); do
|
for d in $(sed -n 's/^ *source: *//p' ${f}.yaml); do
|
||||||
test -e $d || mkdir -p $d
|
test -e $d || mkdir -p $d
|
||||||
done
|
done
|
||||||
docker stack deploy --compose-file ${f}.yaml ${##*/f}
|
docker stack deploy --compose-file ${f}.yaml ${f##*/}
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user