summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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