From 5af5558ea3d0499a2c17da6358cc6beca9a7c01b Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Nov 2013 15:40:06 +0100 Subject: ship buildcache: check whole line, not just prefix --- ship/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ship/build') diff --git a/ship/build b/ship/build index 5dc55801..61d79ee4 100755 --- a/ship/build +++ b/ship/build @@ -168,7 +168,7 @@ buildcache_finalize() { ## usage: buildcache_has BRE # Check if buildcache contains a line matching BRE. buildcache_has() { - grep -q "^$1" "$buildcache" + grep -q "^$1\$" "$buildcache" } ## usage: buildcache_add LINE -- cgit v1.2.3