coreos-base/gmerge: do not touch commit if it is of NoneType

`emerge-gitclone`, should replace commit only if the commit is not
of NoneType, so it could not crash.

See also https://github.com/flatcar-linux/dev-util/pull/4.
This commit is contained in:
Dongsu Park 2020-04-03 15:28:41 +02:00
parent 2cc17b6eef
commit c51d533ec1
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ CROS_WORKON_LOCALDIR="src/platform"
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86" KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else else
CROS_WORKON_COMMIT="051db9cb4d2df8cc72bf01025dbc60ef7bc025f8" # flatcar-master CROS_WORKON_COMMIT="636b1ee0d2bbc5b69ca45484e9cbd4f8b0aea581" # flatcar-master
KEYWORDS="amd64 arm arm64 x86" KEYWORDS="amd64 arm arm64 x86"
fi fi