diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-05-07 07:40:01 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-05-11 11:41:27 -0700 |
commit | 7d72e78465d11754b864666ad1621c99cc81f1c1 (patch) | |
tree | cdfb3c2a919c5c6ecc67ab2a99d3debb519e78c3 | |
parent | 8e62ecf8a892029b5572931795989db0b0d34e71 (diff) | |
download | common-7d72e78465d11754b864666ad1621c99cc81f1c1.tar.gz |
Put all output files directly in the archive directory
Change-Id: Ifdbd12ef1c8f64eb883f30a90aacb096cb2e4422
-rwxr-xr-x | generate-blob-scripts.sh | 19 |
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 |