summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-05-07 07:40:01 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-05-11 11:41:27 -0700
commit7d72e78465d11754b864666ad1621c99cc81f1c1 (patch)
treecdfb3c2a919c5c6ecc67ab2a99d3debb519e78c3
parent8e62ecf8a892029b5572931795989db0b0d34e71 (diff)
downloadcommon-7d72e78465d11754b864666ad1621c99cc81f1c1.tar.gz
Put all output files directly in the archive directory
Change-Id: Ifdbd12ef1c8f64eb883f30a90aacb096cb2e4422
-rwxr-xr-xgenerate-blob-scripts.sh19
1 files changed, 9 insertions, 10 deletions
diff --git a/generate-blob-scripts.sh b/generate-blob-scripts.sh
index 4276097..62e7897 100755
--- a/generate-blob-scripts.sh
+++ b/generate-blob-scripts.sh
@@ -52,33 +52,32 @@ repo sync
rm -rf out
lunch full_dream-user
make -j8
-cat out/target/product/dream/installed-files.txt | cut -b 15- | sort > dream-with.txt
+cat out/target/product/dream/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/dream-with.txt
rm -rf out
lunch full_sapphire-user
make -j8
-cat out/target/product/sapphire/installed-files.txt | cut -b 15- | sort > sapphire-with.txt
+cat out/target/product/sapphire/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/sapphire-with.txt
rm -rf out
lunch full_passion-user
make -j8
-cat out/target/product/passion/installed-files.txt | cut -b 15- | sort > passion-with.txt
+cat out/target/product/passion/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/passion-with.txt
rm -rf vendor
rm -rf out
lunch full_dream-user
make -j8
-cat out/target/product/dream/installed-files.txt | cut -b 15- | sort > dream-without.txt
+cat out/target/product/dream/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/dream-without.txt
rm -rf out
lunch full_sapphire-user
make -j8
-cat out/target/product/sapphire/installed-files.txt | cut -b 15- | sort > sapphire-without.txt
+cat out/target/product/sapphire/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/sapphire-without.txt
rm -rf out
lunch full_passion-user
make -j8
-cat out/target/product/passion/installed-files.txt | cut -b 15- | sort > passion-without.txt
+cat out/target/product/passion/installed-files.txt | cut -b 15- | sort > $ARCHIVEDIR/passion-without.txt
rm -rf out
for DEVICENAME in dream passion sapphire
do
- cp $DEVICENAME-with.txt $DEVICENAME-without.txt $ARCHIVEDIR
for FILESTYLE in extract unzip
do
(
@@ -104,7 +103,7 @@ do
echo
echo 'mkdir -p ../../../vendor/htc/$DEVICE/proprietary'
- diff $DEVICENAME-without.txt $DEVICENAME-with.txt |
+ diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
grep '>' |
cut -b 3- |
while read FULLPATH
@@ -148,7 +147,7 @@ do
echo '-files.sh - DO NOT EDIT'
FOUND=false
- diff $DEVICENAME-without.txt $DEVICENAME-with.txt |
+ diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
grep '>' |
cut -b 3- |
while read FULLPATH
@@ -170,7 +169,7 @@ do
echo
FOUND=false
- diff $DEVICENAME-without.txt $DEVICENAME-with.txt |
+ diff $ARCHIVEDIR/$DEVICENAME-without.txt $ARCHIVEDIR/$DEVICENAME-with.txt |
grep '>' |
cut -b 3- |
while read FULLPATH