2008-04-18, 19:37
Would it be possible to add an option to the build script to only continue if there have been updates in the svn since the last time build was run?
Msan Wrote:Would it be possible to add an option to the build script to only continue if there have been updates in the svn since the last time build was run?
Topfs2 Wrote:./build.sh NOUPDATE
Check out ./build.sh --help for more information
Line 177 echo " Your source is up to date."
Line 178 UPDATE=0
Line 179 exit
blubyu Wrote:Msan - Just add an Exit after line 178
Code:Line 177 echo " Your source is up to date."
Line 178 UPDATE=0
Line 179 exit
I did this because I was testing out different scripts trying to get everything automated (shut down XBMC, check for updates, compile if there were, restart XBMC) and it was nice to be able to exit out of the script when there wasn't updates available.