commit: cf21e2533a1e6de231542c70f9ac54c46f9328e1 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri Oct 20 08:33:41 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Oct 20 08:33:41 2023 +0000 URL: https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git/commit/?id=cf21e253
live.yas: update - quotes and spacing Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> snippets/ebuild-mode/live.yas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snippets/ebuild-mode/live.yas b/snippets/ebuild-mode/live.yas index 3efeefe..895c571 100644 --- a/snippets/ebuild-mode/live.yas +++ b/snippets/ebuild-mode/live.yas @@ -23,11 +23,13 @@ # -- -if [[ \${PV} == *9999* ]] ; then +if [[ "\${PV}" == *9999* ]] ; then inherit git-r3 + EGIT_REPO_URI="${1:https://github.com/example/example}.git" else SRC_URI="$1/archive/\${PV}.tar.gz -> \${P}.tar.gz" + KEYWORDS="${2:~amd64 ~x86}" fi