Skip to content

Commit

Permalink
app-shells/mksh: use canonical phase ordering
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 27, 2021
1 parent 173f8d1 commit 58d566d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions app-shells/mksh/mksh-59c.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ src_compile() {
sh FAQ2HTML.sh || die
}

src_test() {
einfo "Testing regular mksh."
./mksh test.sh -v || die

if use lksh; then
einfo "Testing lksh, POSIX long-bit mksh."
pushd "${S}"_lksh >/dev/null || die
./lksh test.sh -v || die
popd >/dev/null || die
fi
}

src_install() {
into /
dobin mksh
Expand All @@ -71,15 +83,3 @@ src_install() {
doman "${S}"_lksh/lksh.1
fi
}

src_test() {
einfo "Testing regular mksh."
./mksh test.sh -v || die

if use lksh; then
einfo "Testing lksh, POSIX long-bit mksh."
pushd "${S}"_lksh >/dev/null || die
./lksh test.sh -v || die
popd >/dev/null || die
fi
}
24 changes: 12 additions & 12 deletions app-shells/mksh/mksh-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ src_compile() {
sh FAQ2HTML.sh || die
}

src_test() {
einfo "Testing regular mksh."
./mksh test.sh -v || die

if use lksh; then
einfo "Testing lksh, POSIX long-bit mksh."
pushd "${S}"_lksh >/dev/null || die
./lksh test.sh -v || die
popd >/dev/null || die
fi
}

src_install() {
into /
dobin mksh
Expand All @@ -71,15 +83,3 @@ src_install() {
doman "${S}"_lksh/lksh.1
fi
}

src_test() {
einfo "Testing regular mksh."
./mksh test.sh -v || die

if use lksh; then
einfo "Testing lksh, POSIX long-bit mksh."
pushd "${S}"_lksh >/dev/null || die
./lksh test.sh -v || die
popd >/dev/null || die
fi
}

0 comments on commit 58d566d

Please sign in to comment.