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:
parent
a7722bba1d
commit
6b3cf14e50
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user