Revisió 293b74f1
Afegit per Pau Escrich fa més de 13 anys
| nightlycompile.sh | ||
|---|---|---|
|
[ -z "$FORCE" ] && FORCE=0
|
||
|
|
||
|
[ $FORCE -eq 0 ] && {
|
||
|
if cd build/qmp && git diff-index --quiet HEAD --
|
||
|
if (cd build/qmp && git diff-index --quiet HEAD --)
|
||
|
then
|
||
|
echo "Nothing to compile, qMp in last version"
|
||
|
exit 0
|
||
| ... | ... | |
|
|
||
|
make update_all
|
||
|
|
||
|
cd build/qmp && git checkout $BRANCH
|
||
|
(cd build/qmp && git checkout $BRANCH)
|
||
|
|
||
|
for t in $TARGETS; do
|
||
|
|
||
|
echo "Syncronizing configuration..."
|
||
|
make T=$t sync_config
|
||
|
|
||
|
echo "Compiling target $t"
|
||
|
nice -n 25 make T=$t build J=2 QMP_GIT_BRANCH=$BRANCH COMMUNITY=$COMMUNITY
|
||
|
|
||
| ... | ... | |
|
[ $DAYS_TO_PRESERVE -gt 0 ] &&
|
||
|
find images/ -iname "*.bin" -type f -mtime +$DAYS_TO_PRESERVE -exec rm -f '{}' \;
|
||
|
|
||
|
cd images && md5sum *.bin > IMAGES
|
||
|
(cd images && md5sum *.bin > IMAGES)
|
||
|
|
||
També disponible a: Unified diff
Fixed change of directory