aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-10-20 10:33:41 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-10-20 10:33:41 +0200
commitcf21e2533a1e6de231542c70f9ac54c46f9328e1 (patch)
tree9cee92b83e85acfb9cb5b20e47fdd127e5e62f12
parentsnippets/ebuild-mode: add eapi-case.yas (diff)
downloademacs-ebuild-snippets-cf21e2533a1e6de231542c70f9ac54c46f9328e1.tar.gz
emacs-ebuild-snippets-cf21e2533a1e6de231542c70f9ac54c46f9328e1.tar.bz2
emacs-ebuild-snippets-cf21e2533a1e6de231542c70f9ac54c46f9328e1.zip
live.yas: update - quotes and spacing
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--snippets/ebuild-mode/live.yas4
1 files changed, 3 insertions, 1 deletions
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