Fix typo, add comment.

This commit is contained in:
Vassil Vassilev 2016-09-23 17:15:51 +02:00 committed by sftnight
parent f54272c3a4
commit 539218e7db

View File

@ -232,7 +232,8 @@ before_script:
# If we are running our nightly cron job, sync. # If we are running our nightly cron job, sync.
if [ -n $NIGHTLY_CRON_SYNC ] && [ "$TRAVIS_EVENT_TYPE" = "cron" ] \ if [ -n $NIGHTLY_CRON_SYNC ] && [ "$TRAVIS_EVENT_TYPE" = "cron" ] \
&& [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] \ && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] \
&& ["$TRAVIS_REPO_SLUG" == "vgvassilev/cling"] ; then && [ "$TRAVIS_REPO_SLUG" == "vgvassilev/cling" ] ; then
echo "Syncing repository."
cd vgvassilev/cling cd vgvassilev/cling
git remote add alt https://root.cern.ch/git/cling.git git remote add alt https://root.cern.ch/git/cling.git
git pull alt master git pull alt master