From 08c072654230472ec515677fc4e6c14733eb3b86 Mon Sep 17 00:00:00 2001 From: eroen Date: Wed, 28 Sep 2016 19:47:52 +0200 Subject: dfhack - set EGIT_MIN_CLONE_TYPE properly Also fix broken variable check. Thanks to JCaesar from #gentoo for reporting the issues and help debug! --- games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild b/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild index c4975d43..cbf20ee5 100644 --- a/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild +++ b/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild @@ -17,8 +17,10 @@ EGIT_REPO_URI="https://github.com/DFHack/dfhack.git" if [[ $PV == *.9999 ]]; then EGIT_BRANCH="develop" elif [[ $PV == *_alpha* ]]; then + EGIT_MIN_CLONE="single" EGIT_COMMIT="${PV/_alpha/-alpha}" else + EGIT_MIN_CLONE_TYPE=mirror EGIT_COMMIT="29963f4b67b9edae74cd69e159bb63730b524d27" xml_EGIT_COMMIT="95f0627d9f2fe9179865a1eaebf348ea6afcbc27" fi @@ -56,7 +58,7 @@ pkg_setup() { src_unpack() { git-r3_src_unpack - if [[ -n xml_EGIT_COMMIT ]]; then + if [[ -n $xml_EGIT_COMMIT ]]; then cd "$S/library/xml" || die git checkout "$xml_EGIT_COMMIT" || die fi -- cgit v1.2.1