Change single quotes to double so regex works.

This commit is contained in:
2026-03-31 19:44:34 -07:00
parent bc81d1bedd
commit 3edd062852

View File

@@ -89,7 +89,7 @@ function today { date "+%Y%m%d"; }
function send-masters {
echo -e "`date` - Looping through MASTER & SYNC directories."
ls | grep '\-MASTER\|\-SYNC' | while read dir; do
ls | grep "\-MASTER\|\-SYNC" | while read dir; do
echo -e "\n`date` - Found '$dir'..."
cd $dir
send-master