【发布时间】:2012-09-30 13:14:28
【问题描述】:
这个 sh 脚本位于名为“install.sh”的<project-dir>/w 中
我想知道我的目录姓氏“bes”在哪里<project-dir>/src/com/seri/bes
#!bin/bash
我在这一行使用myendpath=${PWD##*/},但变量返回“w”;
myendpath=ls ../src/com/seri/
me="../bin/$myendpath-debug.apk"
adb uninstall com.seri.$myendpath
adb install $me
我怎样才能达到名称价值<project-dir>/src/com/seri/*?
【问题讨论】:
标签: android shell adb ubuntu-12.04 pwd