From e222151ca67455b2fa34d257fd2f67c7e49041da Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 8 Sep 2022 11:57:12 +0200 Subject: [PATCH] app-editors/helix: quote S/WORKDIR variables Signed-off-by: Andrew Ammerlaan --- app-editors/helix/helix-22.05.ebuild | 6 +++--- app-editors/helix/helix-22.08.1.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app-editors/helix/helix-22.05.ebuild b/app-editors/helix/helix-22.05.ebuild index 13add4792e..470d94a4d0 100644 --- a/app-editors/helix/helix-22.05.ebuild +++ b/app-editors/helix/helix-22.05.ebuild @@ -269,8 +269,8 @@ src_prepare() { for line in "${LANGUAGES[@]}"; do read -r name url commit <<< "${line}" - mkdir -p ${S}/runtime/grammars/sources/${name} || die - cp -r ${WORKDIR}/${url##*/}-${commit}/* ${S}/runtime/grammars/sources/${name} || die + mkdir -p "${S}/runtime/grammars/sources/${name}" || die + cp -r "${WORKDIR}"/${url##*/}-${commit}/* "${S}/runtime/grammars/sources/${name}" || die done fi @@ -285,7 +285,7 @@ src_compile() { } src_install() { - use grammar && ( rm -rf ${S}/runtime/grammars/sources || die ) + use grammar && ( rm -rf "${S}/runtime/grammars/sources" || die ) insinto /usr/share/helix doins -r runtime use doc && dodoc README.md CHANGELOG.md diff --git a/app-editors/helix/helix-22.08.1.ebuild b/app-editors/helix/helix-22.08.1.ebuild index f6fc157e4e..949ac41c26 100644 --- a/app-editors/helix/helix-22.08.1.ebuild +++ b/app-editors/helix/helix-22.08.1.ebuild @@ -301,8 +301,8 @@ src_prepare() { for line in "${LANGUAGES[@]}"; do read -r name url commit <<< "${line}" - mkdir -p ${S}/runtime/grammars/sources/${name} || die - cp -r ${WORKDIR}/${url##*/}-${commit}/* ${S}/runtime/grammars/sources/${name} || die + mkdir -p "${S}/runtime/grammars/sources/${name}" || die + cp -r "${WORKDIR}"/${url##*/}-${commit}/* "${S}/runtime/grammars/sources/${name}" || die done fi @@ -317,7 +317,7 @@ src_compile() { } src_install() { - use grammar && ( rm -rf ${S}/runtime/grammars/sources || die ) + use grammar && ( rm -rf "${S}/runtime/grammars/sources" || die ) insinto /usr/share/helix doins -r runtime use doc && dodoc README.md CHANGELOG.md