summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-18 19:13:13 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-18 19:13:13 +0000
commit7d2928c010d4206f70e86829329bc455c4db99f6 (patch)
treed1c3baa0e092c5d3f42055b535520955c2bf7564
parenteae613b29f59343c8bf5aeaea14d1dc0cfd7f0a9 (diff)
if we trigger reset into functions, vasile will clone buildsystem twice during chroot initialization, so restore previous behaviour
-rwxr-xr-xlibvasile3
-rwxr-xr-xvasile3
2 files changed, 3 insertions, 3 deletions
diff --git a/libvasile b/libvasile
index 3b534d8..2b3245c 100755
--- a/libvasile
+++ b/libvasile
@@ -401,21 +401,18 @@ setsrcmodeconfig () {
}
binmode() {
- resetmode
fetchportageconfig
fetchminimalportagetree
setbinmodeconfig
}
mixedmode() {
- resetmode
fetchportageconfig
fetchfullportagetree
setmixedconfig
}
srcmode() {
- resetmode
fetchportageconfig
fetchfullportagetree
setsrcmodeconfig
diff --git a/vasile b/vasile
index f273c80..b95b0b5 100755
--- a/vasile
+++ b/vasile
@@ -27,12 +27,15 @@ case $1 in
resetmode
;;
--binmode)
+ resetmode
binmode
;;
--mixedmode)
+ resetmode
mixedmode
;;
--srcmode)
+ resetmode
srcmode
;;
--help)