dev-util/shfmt: tidy ebuilds

This commit tidys the shfmt ebuilds further.

Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
This commit is contained in:
Randall T. Vasquez
2022-05-28 14:13:51 -07:00
parent 135dacff65
commit f55699a4f5
2 changed files with 6 additions and 12 deletions

View File

@@ -26,16 +26,13 @@ IUSE="+man"
BDEPEND="man? ( app-text/scdoc )"
src_unpack() {
default
if [[ ${PV} == *9999 ]]; then
git-r3_fetch
git-r3_checkout
pushd ${P}/cmd/shfmt || die "location change for module building failed"
ego get
popd || die "location reset from module building failed"
git-r3_src_unpack
go-module_live_vendor
else
go-module_src_unpack
fi
default
}
src_compile() {

View File

@@ -26,16 +26,13 @@ IUSE="+man"
BDEPEND="man? ( app-text/scdoc )"
src_unpack() {
default
if [[ ${PV} == *9999 ]]; then
git-r3_fetch
git-r3_checkout
pushd ${P}/cmd/shfmt || die "location change for module building failed"
ego get
popd || die "location reset from module building failed"
git-r3_src_unpack
go-module_live_vendor
else
go-module_src_unpack
fi
default
}
src_compile() {