Strip carriage returns on matter so that whitelists work correctly. Lines that had \r would not match.
This commit is contained in:
@@ -77,7 +77,7 @@ done
|
|||||||
|
|
||||||
# Find all files with the .domains extension and compile them into one file
|
# Find all files with the .domains extension and compile them into one file
|
||||||
echo "** Aggregating list of domains..."
|
echo "** Aggregating list of domains..."
|
||||||
find $origin/ -type f -name "*.$justDomainsExtension" -exec cat {} \; > $origin/$matter
|
find $origin/ -type f -name "*.$justDomainsExtension" -exec cat {} \; | tr -d '\r' > $origin/$matter
|
||||||
|
|
||||||
# Append blacklist entries if they exist
|
# Append blacklist entries if they exist
|
||||||
if [[ -f $blacklist ]];then
|
if [[ -f $blacklist ]];then
|
||||||
|
Reference in New Issue
Block a user