Simplify rootfs creation script by using existing env variable

This commit is contained in:
Simon Fels 2016-08-14 15:53:01 +02:00
commit 4e7d48ea4f

View file

@ -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