summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen-overlay@occam.eroen.eu>2016-09-28 19:47:52 +0200
committereroen <eroen-overlay@occam.eroen.eu>2016-09-28 19:50:26 +0200
commit08c072654230472ec515677fc4e6c14733eb3b86 (patch)
tree0aea1d4a1dc4f58d37239fb6a41a658525888ce4 /games-util
parentRemove accidentally commited eclasses (diff)
downloaderoen-08c072654230472ec515677fc4e6c14733eb3b86.tar.gz
eroen-08c072654230472ec515677fc4e6c14733eb3b86.tar.bz2
eroen-08c072654230472ec515677fc4e6c14733eb3b86.zip
dfhack - set EGIT_MIN_CLONE_TYPE properly
Also fix broken variable check. Thanks to JCaesar from #gentoo for reporting the issues and help debug!
Diffstat (limited to 'games-util')
-rw-r--r--games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild b/games-util/dfhack/dfhack-0.43.05_pre20160726.ebuild
index c4975d4..cbf20ee 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