14 lines
234 B
Bash
Executable file
14 lines
234 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
act=$1
|
|
act_pr=$2
|
|
lxc_helper=$3
|
|
lxc_helper_pr=$4
|
|
|
|
sha=$(jq --raw-output .head.sha < $lxc_helper_pr)
|
|
test "$sha" != null
|
|
test -d $act
|
|
cp -a $lxc_helper/lxc-helpers.sh $lxc_helper/lxc-helpers-lib.sh $act/pkg/runner
|