generated from me/template-mit
Enhance output of sending all masters.
This commit is contained in:
@@ -74,12 +74,14 @@ export -f clone
|
||||
# Enhance Bin Scripts
|
||||
|
||||
function send-masters {
|
||||
echo -e "`date` - Looping through MASTER directories.\n"
|
||||
ls | grep MASTER | while read dir; do
|
||||
echo "Preparing to sync '$dir' to '$SERVER_NAME'."
|
||||
echo -e "`date` - Found '$dir'..."
|
||||
cd $dir
|
||||
send-master
|
||||
cd ..
|
||||
done
|
||||
echo -e "\n`date` - Done checking for MASTER directories."
|
||||
}
|
||||
export -f send-masters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user