squisher: replace $ANDROID_BUILD_TOP
Now uses $OUT/../../../host instead of $ANDROID_BUILD_TOP/out/host
fixes build when used with OUT_DIR_COMMON_BASE
Change-Id: Ib1934b57f3e94a3c3af10189c803fc494438a4a4
diff --git a/tools/squisher b/tools/squisher
index 552929f..9a4b0bd 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -88,7 +88,7 @@
printf "Signing package..."
SECURITYDIR=$ANDROID_BUILD_TOP/build/target/product/security
java -Xmx1024m \
- -jar $ANDROID_BUILD_TOP/out/host/$OUT_TARGET_HOST/framework/signapk.jar \
+ -jar $OUT/../../../host/$OUT_TARGET_HOST/framework/signapk.jar \
-w $SECURITYDIR/testkey.x509.pem $SECURITYDIR/testkey.pk8 \
$REPACK/update.zip $OUTFILE
echo