summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-08-30 15:35:28 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-08-30 15:35:28 +0100
commit549fc8b9a7a0a7fe7fde974ece70de99658d285f (patch)
treee71105811fa3d75227cb7e0ed97d912249d452a3
parent39624eac34c86a82bcaa1ae87d923c3613890d23 (diff)
explain why we had to change target variable
-rwxr-xr-xlibvasile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvasile b/libvasile
index aa08f91..bdee7f5 100755
--- a/libvasile
+++ b/libvasile
@@ -7,6 +7,9 @@ export local overlaydir="overlaydir"
export local envkogaionuser="root"
# env target variable (can be a single package, multiple packages, or a target file passed as parameter)
+# vasile is now splitted, so calling it with one of its build arguments (--build32 or --build64)
+# would import that argument into envkogaiontarget variable and building most likely would fail
+# so change envkogaiontarget variable for vasile to skip build arguments and focus and next ones (target files, or packages)
export local envkogaiontarget="${@:2}"
export local envkogaionbuildtarget="emerge -kav "$envkogaiontarget""