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:
6dd2ae0
)
fix typo in bash expression
author
Doug Zongker
<dougz@android.com>
Wed, 26 Aug 2009 03:38:50 +0000
(20:38 -0700)
committer
Doug Zongker
<dougz@android.com>
Wed, 26 Aug 2009 03:38:50 +0000
(20:38 -0700)
Fortunately the error doesn't change the value of the expression
(since undefined variables are treated as 0 inside "$((...))").
core/definitions.mk
patch
|
blob
|
history
diff --git
a/core/definitions.mk
b/core/definitions.mk
index
3f8ab88
..
9b3a03d
100644
(file)
--- a/
core/definitions.mk
+++ b/
core/definitions.mk
@@
-1589,7
+1589,7
@@
$(if $(2), \
if [ "$(3)" == "yaffs" ]; then \
reservedblocks=5; \
else \
- rese
l
vedblocks=0; \
+ rese
r
vedblocks=0; \
fi; \
twoblocks=$$((img_blocksize * 2)); \
onepct=$$((((($(2) / 100) - 1) / img_blocksize + 1) * img_blocksize)); \