dotnet-utils.eclass: fix src_prepare

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-25 16:34:34 +05:00
parent 3191567b7a
commit 032cdad38d

View File

@@ -163,13 +163,12 @@ dotnet-utils_src_unpack() {
# @FUNCTION: dotnet-utils_src_prepare # @FUNCTION: dotnet-utils_src_prepare
# @DESCRIPTION: # @DESCRIPTION:
# Restores the packages # Restore the packages using 'dotnet restore'
dotnet-utils_src_prepare() { dotnet-utils_src_prepare() {
debug-print-function ${FUNCNAME} "${@}" debug-print-function ${FUNCNAME} "${@}"
edotnet restore \ edotnet restore --source "${DISTDIR}" || die "Restore failed"
--source "${DISTDIR}" || die default_src_prepare
default
} }
# @FUNCTION: dotnet-utils_src_compile # @FUNCTION: dotnet-utils_src_compile