aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-01-16 20:50:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-16 20:50:03 +0000
commitcd71962af0d7dc2c024317094a6a12594c8bea12 (patch)
treeb4f75fe56c77386becccd789db4defc2d9edd280
parenta1a1b98ef8120c702ccacfc156e69e3bc02fbfd1 (diff)
parentba2b4510c4c90e75927d90c976ba2afec97f0228 (diff)
Merge "build/Makefile: deepclean: make grep more strict"
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index d4b981a9d..6ce6dbd9c 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -184,7 +184,7 @@ deepclean: clean clean-cache
docker rmi opnfv.org/ubuntu-builder:14.04 &>/dev/null || exit 0
docker rmi opnfv.org/ubuntu-builder:latest &>/dev/null || exit 0
docker rmi ubuntu:14.04 &>/dev/null || exit 0
- @if docker images | grep -q "ubuntu *14.04"; then \
+ @if docker images | grep -q "^ubuntu *14.04"; then \
echo "Error: ubuntu:14.04 still present!"; \
exit 1; \
fi