summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-08-30 11:45:28 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-08-30 11:45:28 +0100
commitb34f0d37cf2c10a2e9d98534bf2e1c9c4bead9a0 (patch)
tree3d4e406b27a596ce8862ddb8a44f6d8c0c4ae243
parentae79222cb89bc8644b64bba498a88499da9812e7 (diff)
ignore first argument, but use all next ones
-rwxr-xr-xlibvasile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvasile b/libvasile
index 1d6a999..aa08f91 100755
--- a/libvasile
+++ b/libvasile
@@ -7,7 +7,7 @@ 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)
-export local envkogaiontarget="$@"
+export local envkogaiontarget="${@:2}"
export local envkogaionbuildtarget="emerge -kav "$envkogaiontarget""
# env buildsystem variables