diff options
author | tv <tv@nomic.retiolum> | 2013-11-12 15:40:06 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-11-12 15:40:06 +0100 |
commit | 5af5558ea3d0499a2c17da6358cc6beca9a7c01b (patch) | |
tree | 472cf51c6e6e1de679390cb3ba501aba64b9227d | |
parent | 021dd964ba41665562430e87f75ed53380459a68 (diff) |
ship buildcache: check whole line, not just prefix
-rwxr-xr-x | ship/build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |