Skip to content
Permalink
Browse files

Fixes to avoid unnecessary changing of file dates

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@19323 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jdberry committed Aug 30, 2006
1 parent 4fec7b2 commit 75cb9f2a500b7c2f553eee0d353c06caa068caa6
Showing with 10 additions and 8 deletions.
  1. +10 −8 portmgr/mprsyncup
@@ -14,10 +14,11 @@ RELEASE_URL_FILE="base/config/RELEASE_URL"

# Check out HEAD
TMPDIR=dp
cd ${DPROOT}
rm -Rf ${DPROOT}/${TMPDIR}.tmp
#cvs -q -R -d /cvs/od co -P -d ${TMPDIR}.tmp darwinports
$SVN checkout ${REPO_BASE}/trunk ${DPROOT}/${TMPDIR}.tmp
if [ -d ${DPROOT}/${TMPDIR}.tmp ]; then
$SVN update ${DPROOT}/${TMPDIR}.tmp
else
$SVN checkout ${REPO_BASE}/trunk ${DPROOT}/${TMPDIR}.tmp
fi
rsync -q --exclude=.svn -a --delete ${DPROOT}/${TMPDIR}.tmp/ ${DPROOT}/${TMPDIR}/
echo `date -u +%s` > ${DPROOT}/${TMPDIR}/TIMESTAMP

@@ -27,9 +28,10 @@ read RELEASE_URL < ${DPROOT}/${TMPDIR}/${RELEASE_URL_FILE}

# Checkout from the release tag specified in HEAD
TMPDIR=dp1.0
cd ${DPROOT}
rm -Rf ${DPROOT}/${TMPDIR}.tmp
#cvs -q -R -d /cvs/od co -r ${RELEASE_TAG} -P -d ${TMPDIR}.tmp darwinports
$SVN checkout ${RELEASE_URL} ${DPROOT}/${TMPDIR}.tmp
if [ -d ${DPROOT}/${TMPDIR}.tmp ]; then
$SVN switch ${RELEASE_URL} ${DPROOT}/${TMPDIR}.tmp
else
$SVN checkout ${RELEASE_URL} ${DPROOT}/${TMPDIR}.tmp
fi
rsync -q --exclude=.svn -a --delete ${DPROOT}/${TMPDIR}.tmp/ ${DPROOT}/${TMPDIR}/
echo `date -u +%s` > ${DPROOT}/${TMPDIR}/TIMESTAMP

0 comments on commit 75cb9f2

Please sign in to comment.
You can’t perform that action at this time.