[sdocker] fix bracing
This commit is contained in:
parent
d6763ca8e8
commit
407c0d6de2
@ -199,7 +199,7 @@ sdocker (){
|
||||
AOSP_ARGS=${AOSP_ARGS:--it}
|
||||
img=$(docker ps | grep $1 | awk '{print $1}');
|
||||
if [ -z $img ]; then
|
||||
img=$(docker ps -a | grep $1 | awk '{print $1}') | head -1;
|
||||
img=$(docker ps -a | grep $1 | awk '{print $1}' | head -1);
|
||||
if [ -z $img ]; then
|
||||
echo "Running a new container"
|
||||
docker run ${AOSP_ARGS} ${=SSH_AUTH_ARGS} -v ${AOSP_IMAGE}:/aosp/Project $1
|
||||
|
Loading…
Reference in New Issue
Block a user