Bug 430737 - Update snippets sometimes don't propagate to the entire cluster - update mtime on directories when publishing snippets, r=bhearsum

git-svn-id: svn://10.0.0.236/trunk@254806 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nrthomas%gmail.com 2008-10-29 19:29:05 +00:00
parent a7722bba1d
commit 6b3cf14e50

View File

@ -22,10 +22,8 @@ if ! test -d $STAGING_DIR/$newSnippetDir; then
fi
# publish the new snippets
pushd $STAGING_DIR > /dev/null
echo Running $RSYNC -Pa $STAGING_DIR/$1/ $LIVE_SNIPPET_DIR
$RSYNC -Pa $STAGING_DIR/$1/ $LIVE_SNIPPET_DIR
echo Running $RSYNC -PaO $STAGING_DIR/$1/ $LIVE_SNIPPET_DIR
$RSYNC -PaO $STAGING_DIR/$1/ $LIVE_SNIPPET_DIR
touch $LIVE_SNIPPET_DIR
popd > /dev/null
exit 0