changeset 27:b2a09608bd9b

docker: fixed "./do_all.sh pull" + minor change
author Goffi <goffi@goffi.org>
date Mon, 20 Oct 2014 16:55:45 +0200
parents a5e4c6c2a37d
children 9ca1e7fe0f87
files docker/do_all.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docker/do_all.sh	Mon Oct 20 16:50:12 2014 +0200
+++ b/docker/do_all.sh	Mon Oct 20 16:55:45 2014 +0200
@@ -51,11 +51,11 @@
 	cont_name=$(grep -o "Salut à Toi/[^ ]\+" $cont_dir/Dockerfile | sed "s&Salut à Toi/&&" | tr '[:upper:]' '[:lower:]')
 	cd "$cont_dir"
 	printf "\n==> Doing a $cmd for $ACCOUNT/$cont_name in $cont_dir with extra [$@] <===\n\n"
-	docker $cmd $BEFORE "$ACCOUNT/${cont_name}${TAG}" "$@" "$AFTER"
+	docker $cmd $BEFORE "$ACCOUNT/${cont_name}${TAG}" "$@" $AFTER
 	err=$?
 	cd "$ori_dir"
 	if [ $err -ne 0 ]; then
-		printf "Build of $cont_name failed (exit code $err), exiting\n"
+		printf "$cmd of $cont_name failed (exit code $err), exiting\n"
 		exit 1
 	fi
 done