summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-01-28 16:02:14 -0500
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-28 16:02:14 -0500
commit75bd5b1c4aac996422eca2a7f498b31d1d1bba18 (patch)
tree3c9eb842b577f991ed3c5977169494f4f2e9fc2a /scripts
parentMerge branch 'refactor_builder' (diff)
downloadjitterbug-75bd5b1c4aac996422eca2a7f498b31d1d1bba18.tar.gz
Add a builder_variablse YAML key, which passed environment variables to the builder
Diffstat (limited to '')
-rwxr-xr-xscripts/capsule.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index abc632d..4d99bba 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -2,6 +2,12 @@
# first arg: build_dir
# second arg: report path
+# third arg: should we use perlbrew?
+
+# this is getting smelly
+builddir=$1
+report_path=$2
+perlbrew=$3
function jitterbug_build () {
if [ -f 'dist.ini' ]; then
@@ -34,10 +40,6 @@ function jitterbug_build () {
fi
}
-# this is getting smelly
-builddir=$1
-report_path=$2
-perlbrew=$3
echo "Creating report_path=$report_path"
mkdir -p $report_path