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
|
||||
|
||||
TOPDIR=`echo $ANDROID_BUILD_TOP`
|
||||
PRODUCT_NAME=generic_arm64
|
||||
OUTDIR=out/target/product/$PRODUCT_NAME
|
||||
OUTDIR=`echo $ANDROID_PRODUCT_OUT`
|
||||
CURDIR=`pwd`
|
||||
TARGET=anbox-rootfs
|
||||
TARGET=rootfs
|
||||
|
||||
if [ -d $TARGET ] ; then
|
||||
rm -rf $TARGET
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue