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