Merge pull request #216 from hongxu-jia/master
cargo_common.bbclass: fix bashism
This commit is contained in:
@@ -35,7 +35,7 @@ cargo_common_do_configure () {
|
|||||||
directory = "${CARGO_HOME}/bitbake"
|
directory = "${CARGO_HOME}/bitbake"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "${EXTERNALSRC}" == "" ]; then
|
if [ -z "${EXTERNALSRC}" ]; then
|
||||||
cat <<- EOF >> ${CARGO_HOME}/config
|
cat <<- EOF >> ${CARGO_HOME}/config
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
replace-with = "bitbake"
|
replace-with = "bitbake"
|
||||||
|
|||||||
Reference in New Issue
Block a user