generated from me/template-mit
Change where the newline is so each MASTER is in its own log section.
This commit is contained in:
@@ -85,9 +85,9 @@ function today { date "+%Y%m%d"; }
|
|||||||
# Enhance Bin Scripts #
|
# Enhance Bin Scripts #
|
||||||
|
|
||||||
function send-masters {
|
function send-masters {
|
||||||
echo -e "`date` - Looping through MASTER directories.\n"
|
echo -e "`date` - Looping through MASTER directories."
|
||||||
ls | grep '\-MASTER' | while read dir; do
|
ls | grep '\-MASTER' | while read dir; do
|
||||||
echo -e "`date` - Found '$dir'..."
|
echo -e "\n`date` - Found '$dir'..."
|
||||||
cd $dir
|
cd $dir
|
||||||
send-master
|
send-master
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
Reference in New Issue
Block a user