summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-26 10:26:00 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-26 10:37:39 +0200
commitdabc913e1c83ef8b29fe2c4ef1746198191261e6 (patch)
tree8582e86658769463e0682e3058f9379a193d0e3a /dev-lang/fuzion
parentmedia-sound/mpd: Stabilize 0.23.12-r2 ppc64, #907380 (diff)
downloadgentoo-dabc913e1c83ef8b29fe2c4ef1746198191261e6.tar.gz
gentoo-dabc913e1c83ef8b29fe2c4ef1746198191261e6.tar.bz2
gentoo-dabc913e1c83ef8b29fe2c4ef1746198191261e6.zip
dev-lang/fuzion: fix var name in die
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/fuzion')
-rw-r--r--dev-lang/fuzion/fuzion-0.082.ebuild6
-rw-r--r--dev-lang/fuzion/fuzion-0.083.ebuild2
2 files changed, 5 insertions, 3 deletions
diff --git a/dev-lang/fuzion/fuzion-0.082.ebuild b/dev-lang/fuzion/fuzion-0.082.ebuild
index e305cdf2ce5d..d7efe8f81b5d 100644
--- a/dev-lang/fuzion/fuzion-0.082.ebuild
+++ b/dev-lang/fuzion/fuzion-0.082.ebuild
@@ -33,11 +33,13 @@ src_test() {
src_install() {
# Remove unnecessary files from build directory. bug #893450
- local torm torm_path
+ local torm
+ local torm_path
for torm in tests run_tests.{failures,results} ; do
torm_path="${S}"/build/${torm}
+
if [[ -e "${torm_path}" ]] ; then
- rm -r "${torm_path}" || die "failed to remove ${toremove_path}"
+ rm -r "${torm_path}" || die "failed to remove ${torm_path}"
fi
done
diff --git a/dev-lang/fuzion/fuzion-0.083.ebuild b/dev-lang/fuzion/fuzion-0.083.ebuild
index b37d2fb1f8dc..89a790ef2ce9 100644
--- a/dev-lang/fuzion/fuzion-0.083.ebuild
+++ b/dev-lang/fuzion/fuzion-0.083.ebuild
@@ -48,7 +48,7 @@ src_install() {
torm_path="${S}"/build/${torm}
if [[ -e "${torm_path}" ]] ; then
- rm -r "${torm_path}" || die "failed to remove ${toremove_path}"
+ rm -r "${torm_path}" || die "failed to remove ${torm_path}"
fi
done