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
|
# Enhance Bin Scripts
|
||||||
|
|
||||||
function send-masters {
|
function send-masters {
|
||||||
|
echo -e "`date` - Looping through MASTER directories.\n"
|
||||||
ls | grep MASTER | while read dir; do
|
ls | grep MASTER | while read dir; do
|
||||||
echo "Preparing to sync '$dir' to '$SERVER_NAME'."
|
echo -e "`date` - Found '$dir'..."
|
||||||
cd $dir
|
cd $dir
|
||||||
send-master
|
send-master
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
echo -e "\n`date` - Done checking for MASTER directories."
|
||||||
}
|
}
|
||||||
export -f send-masters
|
export -f send-masters
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user