Merge pull request #216 from hongxu-jia/master

cargo_common.bbclass: fix bashism
This commit is contained in:
Doug Goldstein
2018-11-23 16:46:58 -06:00
committed by GitHub

View File

@@ -35,7 +35,7 @@ cargo_common_do_configure () {
directory = "${CARGO_HOME}/bitbake"
EOF
if [ "${EXTERNALSRC}" == "" ]; then
if [ -z "${EXTERNALSRC}" ]; then
cat <<- EOF >> ${CARGO_HOME}/config
[source.crates-io]
replace-with = "bitbake"