Code Review
/
iec.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
CI: Add sonar-project.properties
[iec.git]
/
anbox-master
/
scripts
/
android-sync.sh
1
#!/bin/sh
2
3
set -ex
4
5
if [ -z "$ANDROID_PRODUCT_OUT" ]; then
6
echo "ANDROID_PRODUCT_OUT is not set!"
7
exit 1
8
fi
9
10
target=$1
11
if [ -z "$target" ]; then
12
echo "No target path provided!"
13
exit 1
14
fi
15
16
sudo cp -rv $ANDROID_PRODUCT_OUT/system $target
17
sudo rm /var/lib/anbox/rootfs/.anbox_setup_done