exclude git files from rsync
authorChris Sharp <csharp@georgialibraries.org>
Sun, 2 Apr 2017 13:13:30 +0000 (09:13 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 2 Apr 2017 13:13:30 +0000 (09:13 -0400)
install-ubuntu-14.04.sh

index 9cadd35..fadfc91 100755 (executable)
@@ -41,7 +41,7 @@ echo "This script will not create the required tables in the database."
 echo "Please run sql/quick_reports_setup.sql ONLY if you haven't already."
 
 echo "Copying report-creator files into $OSRF_WEB_ROOT/report-creator."
-rsync -auv --exclude="install*.sh" ./ $OSRF_WEB_ROOT/report-creator/
+rsync -auv --exclude="install*.sh" --exclude=".git" ./ $OSRF_WEB_ROOT/report-creator/
 chown -R opensrf:opensrf $OSRF_WEB_ROOT/report-creator
 
 echo "Now browse to https://www.yourdomain.tld/report-creator to complete setup."