1 |
commit: e222151ca67455b2fa34d257fd2f67c7e49041da |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 8 09:57:12 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 8 09:57:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e222151c |
7 |
|
8 |
app-editors/helix: quote S/WORKDIR variables |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
app-editors/helix/helix-22.05.ebuild | 6 +++--- |
13 |
app-editors/helix/helix-22.08.1.ebuild | 6 +++--- |
14 |
2 files changed, 6 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/helix/helix-22.05.ebuild b/app-editors/helix/helix-22.05.ebuild |
17 |
index 13add4792..470d94a4d 100644 |
18 |
--- a/app-editors/helix/helix-22.05.ebuild |
19 |
+++ b/app-editors/helix/helix-22.05.ebuild |
20 |
@@ -269,8 +269,8 @@ src_prepare() { |
21 |
for line in "${LANGUAGES[@]}"; do |
22 |
read -r name url commit <<< "${line}" |
23 |
|
24 |
- mkdir -p ${S}/runtime/grammars/sources/${name} || die |
25 |
- cp -r ${WORKDIR}/${url##*/}-${commit}/* ${S}/runtime/grammars/sources/${name} || die |
26 |
+ mkdir -p "${S}/runtime/grammars/sources/${name}" || die |
27 |
+ cp -r "${WORKDIR}"/${url##*/}-${commit}/* "${S}/runtime/grammars/sources/${name}" || die |
28 |
done |
29 |
fi |
30 |
|
31 |
@@ -285,7 +285,7 @@ src_compile() { |
32 |
} |
33 |
|
34 |
src_install() { |
35 |
- use grammar && ( rm -rf ${S}/runtime/grammars/sources || die ) |
36 |
+ use grammar && ( rm -rf "${S}/runtime/grammars/sources" || die ) |
37 |
insinto /usr/share/helix |
38 |
doins -r runtime |
39 |
use doc && dodoc README.md CHANGELOG.md |
40 |
|
41 |
diff --git a/app-editors/helix/helix-22.08.1.ebuild b/app-editors/helix/helix-22.08.1.ebuild |
42 |
index f6fc157e4..949ac41c2 100644 |
43 |
--- a/app-editors/helix/helix-22.08.1.ebuild |
44 |
+++ b/app-editors/helix/helix-22.08.1.ebuild |
45 |
@@ -301,8 +301,8 @@ src_prepare() { |
46 |
for line in "${LANGUAGES[@]}"; do |
47 |
read -r name url commit <<< "${line}" |
48 |
|
49 |
- mkdir -p ${S}/runtime/grammars/sources/${name} || die |
50 |
- cp -r ${WORKDIR}/${url##*/}-${commit}/* ${S}/runtime/grammars/sources/${name} || die |
51 |
+ mkdir -p "${S}/runtime/grammars/sources/${name}" || die |
52 |
+ cp -r "${WORKDIR}"/${url##*/}-${commit}/* "${S}/runtime/grammars/sources/${name}" || die |
53 |
done |
54 |
fi |
55 |
|
56 |
@@ -317,7 +317,7 @@ src_compile() { |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
- use grammar && ( rm -rf ${S}/runtime/grammars/sources || die ) |
61 |
+ use grammar && ( rm -rf "${S}/runtime/grammars/sources" || die ) |
62 |
insinto /usr/share/helix |
63 |
doins -r runtime |
64 |
use doc && dodoc README.md CHANGELOG.md |