diff options
author | davidovski <david@davidovski.xyz> | 2022-01-13 22:30:01 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-13 22:30:01 +0000 |
commit | 14d93500ff5024aee0d82220ad52f09dede036a2 (patch) | |
tree | 1c4ba9d65a30d4542b307155263ae49dc155f665 /build-repo.sh | |
parent | 85e27c94bad896b0948eac51a5fc23453409d3cb (diff) |
tried to fix miscolouring
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 d43a687..a4aeb8c 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 tail -1 xibuild.report.log | grep -q "^new"; then COLOR="pass" fi - if grep $PKG_NAME xibuild.report.log | grep -q "^fail"; then + if tail -1 xibuild.report.log | grep -q "^fail"; then if [ -f dist/$REPO_NAME/$PKG_NAME.xipkg ]; then COLOR="warning" else |