aosp: Fix volume directory existence test

* Typo.
This commit is contained in:
Kyle Manna 2014-11-12 08:47:40 -08:00
parent 55125c6fd2
commit 4be024356f

View File

@ -14,7 +14,7 @@ AOSP_ARGS=${AOSP_ARGS:---rm -it}
AOSP_VOL_AOSP=${AOSP_VOL_AOSP:-$AOSP_VOL/aosp} AOSP_VOL_AOSP=${AOSP_VOL_AOSP:-$AOSP_VOL/aosp}
AOSP_VOL_CCACHE=${AOSP_VOL_CCACHE:-$AOSP_VOL/ccache} AOSP_VOL_CCACHE=${AOSP_VOL_CCACHE:-$AOSP_VOL/ccache}
if [ ! -d "$AOSP_VOL/aosp" -o ! -d "$AOSP_VOL/aosp" ]; then if [ ! -d "$AOSP_VOL_AOSP" -o ! -d "$AOSP_VOL_CCACHE" ]; then
sudo mkdir -p $AOSP_VOL_AOSP $AOSP_VOL_CCACHE sudo mkdir -p $AOSP_VOL_AOSP $AOSP_VOL_CCACHE
sudo chmod 777 $AOSP_VOL_AOSP $AOSP_VOL_CCACHE sudo chmod 777 $AOSP_VOL_AOSP $AOSP_VOL_CCACHE
fi fi