Skip to content

Commit

Permalink
add conditional checks so that quarantined launchers aren't listed fo…
Browse files Browse the repository at this point in the history
…r re-org or backup
  • Loading branch information
tsmathis committed Nov 15, 2023
1 parent 051517c commit b160381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmet-cli/emmet/cli/bash_scripts/launcher_finder
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ generate_report() {
local counts=("${@}")

for file in "${counts[@]}"; do
awk '/block/ { print $0 }' "${file}" >&3
awk '!/block/ { print $0 }' "${file}" >&5
awk '/block/ && !/quarantine/ { print $0 }' "${file}" >&3
awk '!/block/ && !/quarantine/ { print $0 }' "${file}" >&5
awk '/quarantine/ { print $0 }' "${file}" >&7
done

Expand Down

0 comments on commit b160381

Please sign in to comment.