aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-02 17:58:00 -0700
committerChih-Hung Hsieh <chh@google.com>2020-10-02 17:58:00 -0700
commit6c64d9806bae86773aa56c44673edf3816e07cdd (patch)
tree80262e3c626ec2a01bbf042934a31edf788ac69c
parent94febd0c23e60d8689ec7be85006034582582650 (diff)
downloadplatform_tools_external_updater-master.tar.gz
platform_tools_external_updater-master.tar.bz2
platform_tools_external_updater-master.zip
Copy out file from x86_64-unknown-linux-gnuHEADmaster
* New cargo2android.py calls cargo with this default target for both host and device. Bug: 169872957 Test: .../updater.sh update --refresh --keep_date rust/crates/* Change-Id: Id0ad61572672f0173a38db290cbb4ce7fb8c8aed
-rwxr-xr-xregen_bp.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regen_bp.sh b/regen_bp.sh
index df319a5..2ade8e4 100755
--- a/regen_bp.sh
+++ b/regen_bp.sh
@@ -58,7 +58,8 @@ if [ -d $2/out ]; then
for f in $2/out/*
do
OUTF=`basename $f`
- SRC=`ls ./target.tmp/debug/build/$PKGNAME-*/out/$OUTF || true`
+ SRC=`ls ./target.tmp/x86_64-unknown-linux-gnu/debug/build/$PKGNAME-*/out/$OUTF ||
+ ls ./target.tmp/debug/build/$PKGNAME-*/out/$OUTF || true`
if [ "$SRC" != "" ]; then
echo "Copying $SRC to out/$OUTF"
mkdir -p out