Simplify rootfs creation script by using existing env variable
This commit is contained in:
parent
2b25f6f5bb
commit
4e7d48ea4f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,10 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TOPDIR=`echo $ANDROID_BUILD_TOP`
|
TOPDIR=`echo $ANDROID_BUILD_TOP`
|
||||||
PRODUCT_NAME=generic_arm64
|
OUTDIR=`echo $ANDROID_PRODUCT_OUT`
|
||||||
OUTDIR=out/target/product/$PRODUCT_NAME
|
|
||||||
CURDIR=`pwd`
|
CURDIR=`pwd`
|
||||||
TARGET=anbox-rootfs
|
TARGET=rootfs
|
||||||
|
|
||||||
if [ -d $TARGET ] ; then
|
if [ -d $TARGET ] ; then
|
||||||
rm -rf $TARGET
|
rm -rf $TARGET
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue