From cf21e2533a1e6de231542c70f9ac54c46f9328e1 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 20 Oct 2023 10:33:41 +0200 Subject: live.yas: update - quotes and spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- snippets/ebuild-mode/live.yas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'snippets') 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 -- cgit v1.2.3-65-gdbad