replace another grep -F as pointed out by @StarPicard

Signed-off-by: Adam Warner <adamw@rner.email>
pull/1910/head
Adam Warner 6 years ago
parent 876170767c
commit 55e10d8287
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

@ -330,7 +330,7 @@ gravity_ParseFileIntoDomains() {
}' "${source}" > "${destination}.exceptionsFile.tmp"
# Remove exceptions
grep -F -x -v -f "${destination}.exceptionsFile.tmp" "${destination}" > "${source}"
comm -23 "${destination}" <(sort "${destination}.exceptionsFile.tmp") > "${source}"
mv "${source}" "${destination}"
fi

Loading…
Cancel
Save