From 9fb4da3c777800e2ae2ce2876363a50181644aee Mon Sep 17 00:00:00 2001 From: eddiemonge Date: Wed, 11 May 2011 19:19:35 -0700 Subject: [PATCH] Modify the nightly script to update the CDN --- .gitignore | 1 + gitpushlatest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 0f97c909..e3a53d48 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ combined/ combine/ compiled/ gitstatus.log +refreshCDN diff --git a/gitpushlatest.php b/gitpushlatest.php index 693eef30..69d4b5c4 100755 --- a/gitpushlatest.php +++ b/gitpushlatest.php @@ -5,5 +5,6 @@ if ( fread($file, filesize($filename)) === 'NewCommit' ) { ftruncate($file, 0); exec('git pull --quiet && make NIGHTLY_OUTPUT=latest nightly >> /dev/null 2>&1'); + exec('./refreshCDN'); }