mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
eclass: quote cros-workon assignments
With portage-2.3.3, failglob errors are printed when any of these lines expand to ": *", so quote the variables to not use patterns.
This commit is contained in:
parent
b0ccc96a4f
commit
d85c33bcd1
@ -11,40 +11,40 @@
|
|||||||
# @ECLASS-VARIABLE: CROS_WORKON_REPO
|
# @ECLASS-VARIABLE: CROS_WORKON_REPO
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Git URL which is prefixed to CROS_WORKON_PROJECT
|
# Git URL which is prefixed to CROS_WORKON_PROJECT
|
||||||
: ${CROS_WORKON_REPO:=https://chromium.googlesource.com}
|
: "${CROS_WORKON_REPO:=https://chromium.googlesource.com}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_PROJECT
|
# @ECLASS-VARIABLE: CROS_WORKON_PROJECT
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Git project name which is suffixed to CROS_WORKON_REPO
|
# Git project name which is suffixed to CROS_WORKON_REPO
|
||||||
: ${CROS_WORKON_PROJECT:=${PN}}
|
: "${CROS_WORKON_PROJECT:=${PN}}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_LOCALDIR
|
# @ECLASS-VARIABLE: CROS_WORKON_LOCALDIR
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Repo checkout directory which is prefixed to CROS_WORKON_LOCALNAME
|
# Repo checkout directory which is prefixed to CROS_WORKON_LOCALNAME
|
||||||
# Generally is either src/third_party or src/platform
|
# Generally is either src/third_party or src/platform
|
||||||
: ${CROS_WORKON_LOCALDIR:=src/third_party}
|
: "${CROS_WORKON_LOCALDIR:=src/third_party}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_LOCALNAME
|
# @ECLASS-VARIABLE: CROS_WORKON_LOCALNAME
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Directory name which is suffixed to CROS_WORKON_LOCALDIR
|
# Directory name which is suffixed to CROS_WORKON_LOCALDIR
|
||||||
: ${CROS_WORKON_LOCALNAME:=${PN}}
|
: "${CROS_WORKON_LOCALNAME:=${PN}}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_COMMIT
|
# @ECLASS-VARIABLE: CROS_WORKON_COMMIT
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Git commit to checkout to
|
# Git commit to checkout to
|
||||||
: ${CROS_WORKON_COMMIT:=}
|
: "${CROS_WORKON_COMMIT:=}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_TREE
|
# @ECLASS-VARIABLE: CROS_WORKON_TREE
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# SHA1 of the contents of the repository. This is used for verifying the
|
# SHA1 of the contents of the repository. This is used for verifying the
|
||||||
# correctness of prebuilts. Unlike the commit hash, this SHA1 is unaffected
|
# correctness of prebuilts. Unlike the commit hash, this SHA1 is unaffected
|
||||||
# by the history of the repository, or by commit messages.
|
# by the history of the repository, or by commit messages.
|
||||||
: ${CROS_WORKON_TREE:=}
|
: "${CROS_WORKON_TREE:=}"
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: CROS_WORKON_SRCROOT
|
# @ECLASS-VARIABLE: CROS_WORKON_SRCROOT
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Directory where chrome third party and platform sources are located (formerly CHROMEOS_ROOT)
|
# Directory where chrome third party and platform sources are located (formerly CHROMEOS_ROOT)
|
||||||
: ${CROS_WORKON_SRCROOT:=}
|
: "${CROS_WORKON_SRCROOT:=}"
|
||||||
|
|
||||||
# TODO(marineam): Remove profiling and cros_workon_tree_* use flags.
|
# TODO(marineam): Remove profiling and cros_workon_tree_* use flags.
|
||||||
# These have never been used in CoreOS.
|
# These have never been used in CoreOS.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user