Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-common: Commit

device/common


Commit MetaInfo

Révision1dedf148fe8f7bf7a2e841b8a17e929f5802c2b7 (tree)
l'heure2012-06-26 07:52:04
AuteurJean-Baptiste Queru <jbq@goog...>
CommiterJean-Baptiste Queru

Message de Log

Generate output even in case of error

Bug: 4295425
Change-Id: Iab20687a11a585fde20714c807df8bc8145e9ddf

Change Summary

Modification

--- a/generate-blob-lists.sh
+++ b/generate-blob-lists.sh
@@ -80,9 +80,9 @@ fi
8080
8181 for DEVICENAME in $DEVICES
8282 do
83+ MANUFACTURERNAME=$( find device -type d | grep [^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / )
8384 if test $(wc -l < $ARCHIVEDIR/$DEVICENAME-without.txt) != 0 -a $(wc -l < $ARCHIVEDIR/$DEVICENAME-with.txt) != 0
8485 then
85- MANUFACTURERNAME=$( find device -type d | grep [^/]\*/[^/]\*/$DEVICENAME\$ | cut -f 2 -d / )
8686 (
8787 echo '# Copyright (C) 2011 The Android Open Source Project'
8888 echo '#'
@@ -117,6 +117,16 @@ do
117117 git push ssh://$1:29418/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblobs
118118 fi
119119 )
120+ else
121+ (
122+ cd device/$MANUFACTURERNAME/$DEVICENAME
123+ git commit --allow-empty -m "$(echo -e 'DO NOT SUBMIT - BROKEN BUILD\n\nBug: 4295425')"
124+ if test "$1" != "" -a "$2" != ""
125+ then
126+ echo uploading to server $1 branch $2
127+ git push ssh://$1:29418/device/$MANUFACTURERNAME/$DEVICENAME.git HEAD:refs/for/$2/autoblobs
128+ fi
129+ )
120130 fi
121131 done
122132
Afficher sur ancien navigateur de dépôt.