From dbb2ab99412332ea1f30c7c87e4512c940b01ab1 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Sun, 26 Jun 2016 16:53:30 +0530
Subject: [PATCH] Use rsync instead of cp.

---
 packaging_scripts/create_dmg_using_brew.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packaging_scripts/create_dmg_using_brew.sh b/packaging_scripts/create_dmg_using_brew.sh
index 7a09d574..7aa190b2 100755
--- a/packaging_scripts/create_dmg_using_brew.sh
+++ b/packaging_scripts/create_dmg_using_brew.sh
@@ -79,7 +79,7 @@ export PATH=${BREW_PREFIX}/bin:$PATH
         echo "[I] Brew exists. Not installing"
     fi
     echo "Copying moose.rb and moogli.rb"
-    cp $CURRDIR/../macosx/*.rb $BREW_PREFIX/Library/Formula/
+    rsync -azv --progress $CURRDIR/../macosx/*.rb $BREW_PREFIX/Library/Formula/
 
     # This even works without python.
     ## NOTE: DO NOT install matplotlib using brew unless also installing python
-- 
GitLab