Skip to content
Snippets Groups Projects
Commit 5108a9fc authored by david_williams's avatar david_williams
Browse files

improve promote script to use rsync instead of cp

parent 2cee2033
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ then ...@@ -165,7 +165,7 @@ then
exitCode=$? exitCode=$?
if [ $exitCode != 0 ] if [ $exitCode != 0 ]
then then
nTrys=$(( nTrys + 1 )) nTrys=$(( $nTrys + 1 ))
if [ $verboseFlag ] ; then if [ $verboseFlag ] ; then
echo "rsync failed with $exitCode. Retrying $nTrys times." echo "rsync failed with $exitCode. Retrying $nTrys times."
if [ $nTrys > $maxTrys ] ; then if [ $nTrys > $maxTrys ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment