Permalink
Browse files

Prevent VERSION/springlobby_config.h from being regenerated all the t…

…ime when doing

out-of-tree builds
  • Loading branch information...
specing committed Aug 15, 2018
1 parent 232e0a1 commit 9fbf15e7fd92672710b10f96a05d74d11bb80830
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/regen_config_header.sh
@@ -18,8 +18,8 @@ if [ -z "$REV" ]; then
fi
OLDREV=""
if [ -s "$SOURCE/VERSION" ] && [ -s "$SOURCE/springlobby_config.h" ]; then
read OLDREV < "$SOURCE/VERSION"
if [ -s "$OUTPUT/VERSION" ] && [ -s "$OUTPUT/springlobby_config.h" ]; then
read OLDREV < "$OUTPUT/VERSION"
fi
if [ "$OLDREV" != "$REV" ]; then # version changed, update file

0 comments on commit 9fbf15e

Please sign in to comment.