diff options
author | davidovski <david@davidovski.xyz> | 2022-01-13 12:45:58 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-13 12:45:58 +0000 |
commit | 5c06053b011bb179b8a6943d64414cb5117a136c (patch) | |
tree | 44f93b054dbb843bc92d99fcde479c920b3cf9b9 /build-repo.sh | |
parent | fdc7917a8862e680d13891d1afd0b768e4af9033 (diff) |
fixed false green highlights for certain packages
made regex use ^ to check if package is ^new, rather than without
Diffstat (limited to 'build-repo.sh')
-rwxr-xr-x | build-repo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-repo.sh b/build-repo.sh index 365e121..d43a687 100755 --- a/build-repo.sh +++ b/build-repo.sh @@ -85,10 +85,10 @@ extend-index () { DESC=$(grep $PKG_NAME xibuild.report.log | cut -d" " -f3-) COLOR="none" - if grep $PKG_NAME xibuild.report.log | grep -q new; then + if grep $PKG_NAME xibuild.report.log | grep -q "^new"; then COLOR="pass" fi - if grep $PKG_NAME xibuild.report.log | grep -q fail; then + if grep $PKG_NAME xibuild.report.log | grep -q "^fail"; then if [ -f dist/$REPO_NAME/$PKG_NAME.xipkg ]; then COLOR="warning" else |