OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df9dec
)
Fix argument handling in runhat() function
author
Chris Dearman
<chris@mips.com>
Wed, 16 Feb 2011 20:16:09 +0000
(12:16 -0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 3 Aug 2011 04:01:20 +0000
(12:01 +0800)
Change-Id: I22fa264a3db516dcbe0cc9109dc20d6c004d3418
Signed-off-by: Raghu Gandham <raghu@mips.com>
envsetup.sh
patch
|
blob
|
history
diff --git
a/envsetup.sh
b/envsetup.sh
index
fd16f01
..
58d063f
100644
(file)
--- a/
envsetup.sh
+++ b/
envsetup.sh
@@
-909,10
+909,10
@@
function runhat()
{
# process standard adb options
local adbTarget=""
- if [
$1 = "-d" -o $1
= "-e" ]; then
+ if [
"$1" = "-d" -o "$1"
= "-e" ]; then
adbTarget=$1
shift 1
- elif [
$1
= "-s" ]; then
+ elif [
"$1"
= "-s" ]; then
adbTarget="$1 $2"
shift 2
fi