[asterisk-scf-commits] asterisk-scf/integration/gitall.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Jan 13 15:20:27 CST 2011
branch "master" has been updated
via 73ea5fdff1e1f165110b8ee6543acf3846e3b62c (commit)
from a93e50a631683f1afd4cba39905582a9434bbd2c (commit)
Summary of changes:
gitall-asterisk-scf.sh | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 73ea5fdff1e1f165110b8ee6543acf3846e3b62c
Author: David M. Lee <dlee at digium.com>
Date: Thu Jan 13 14:51:32 2011 -0600
Fixed needless rebuilds of pjproject.
We were touching the site_config.h file, whether it existed or not.
This cause pjproject to rebuild every time you did a pull.
diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index 4e758da..21ce8ce 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -182,8 +182,11 @@ EOF
done
# Make sure that config_site.h exists for Windows.
- # harmless for all other platforms
- touch ./pjproject/pjlib/include/pj/config_site.h
+ # harmless for all other platforms. Only touch it if you have to
+ # to avoid triggering needless builds.
+ if ! test -e ./pjproject/pjlib/include/pj/config_site.h; then
+ touch ./pjproject/pjlib/include/pj/config_site.h
+ fi
} # pull
-----------------------------------------------------------------------
--
asterisk-scf/integration/gitall.git
More information about the asterisk-scf-commits
mailing list