summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-12 15:40:06 +0100
committertv <tv@nomic.retiolum>2013-11-12 15:40:06 +0100
commit5af5558ea3d0499a2c17da6358cc6beca9a7c01b (patch)
tree472cf51c6e6e1de679390cb3ba501aba64b9227d
parent021dd964ba41665562430e87f75ed53380459a68 (diff)
ship buildcache: check whole line, not just prefix
-rwxr-xr-xship/build2
1 files changed, 1 insertions, 1 deletions
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