diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-01-20 20:24:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-21 10:35:19 +0000 |
commit | 22f90c5aec4f0b0360d1d960226f9965d83d589b (patch) | |
tree | 8f13f0e39b2db1584d0c1d780e9d24e9d328f909 /meta/recipes-extended/gperf | |
parent | 8fcd5accbe8ffca9e0c5233419c1571741c76c03 (diff) | |
download | openembedded-core-22f90c5aec4f0b0360d1d960226f9965d83d589b.tar.gz openembedded-core-22f90c5aec4f0b0360d1d960226f9965d83d589b.tar.bz2 openembedded-core-22f90c5aec4f0b0360d1d960226f9965d83d589b.zip |
e2fsprogs/populate-extfs.sh: fix a problem on dash
The dash can't handle the or [[ in parameter expansion, for example:
A=/usr/bin/[[
B=[[
C="${A%$B}"
The C should be "/usr/bin" in common, but it will be /usr/bin/[[ on
dash, use dirname to fix it.
NOTE:
There are 3 lines about parameter expansion, only fix the
DIR="${DIR%$TGT}" since the other 2 works will and are very useful in
this case.
[YOCTO #5712]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gperf')
0 files changed, 0 insertions, 0 deletions