Skip to content

Commit

Permalink
more debug output (JBIDE-20030)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickboldt committed Jun 24, 2015
1 parent b7d13aa commit f713901
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions publish/rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ while [[ "$#" -gt 0 ]]; do
esac
shift 1
done
echo "[DEBUG] RSYNCFLAGS = $RSYNCFLAGS"

# build the target_path with sftp to ensure intermediate folders exist
if [[ ${DESTINATION##*@*:*} == "" ]]; then # user@server, do remote op
Expand All @@ -69,10 +70,10 @@ fi

# copy the source into the target
if [[ ${EXCLUDES} ]]; then
echo "rsync -arzq --protocol=28 ${RSYNCFLAGS} --exclude=${EXCLUDES} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/"
echo "[INFO] rsync -arzq --protocol=28 ${RSYNCFLAGS} --exclude=${EXCLUDES} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/"
rsync -arzq --protocol=28 ${RSYNCFLAGS} --exclude=${EXCLUDES} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/
else
echo "rsync -arzq --protocol=28 ${RSYNCFLAGS} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/"
echo "[INFO] rsync -arzq --protocol=28 ${RSYNCFLAGS} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/"
rsync -arzq --protocol=28 ${RSYNCFLAGS} ${SOURCE_PATH}/${INCLUDES} $DESTINATION/${TARGET_PATH}/
fi

Expand Down

0 comments on commit f713901

Please sign in to comment.