# # 主要是记录mmm的简便自动化执行方式,为了减少键盘输入 # if [ $# -ne 1 ]; then echo echo " Usage: ./remmm.sh <source dirctory>" echo exit 0 fi if [ ! -d $1 ]; then echo echo " dirctory was not exist." echo exit 0 fi echo "source build/envsetup.sh" source build/envsetup.sh echo "lunch sabresd_6dq-eng" lunch sabresd_6dq-eng echo echo "mmm dist dirctory" echo mmm $1