Signed-off-by: Hu XueJiao 1034502035@qq.com --- daemon/multi-docker | 2 +- daemon/multi-qemu | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/daemon/multi-docker b/daemon/multi-docker index b39506b6..49c8c968 100755 --- a/daemon/multi-docker +++ b/daemon/multi-docker @@ -8,7 +8,7 @@
multi_docker() { - export CCI_SRC=/c/compass-ci + [ -n "$CCI_SRC" ] || export CCI_SRC=/c/compass-ci local hostname=$tbox_group.$HOSTNAME $CCI_SRC/providers/multi-docker -n $hostname -c $nr_container -q $queues } diff --git a/daemon/multi-qemu b/daemon/multi-qemu index aa2348b4..99f63583 100755 --- a/daemon/multi-qemu +++ b/daemon/multi-qemu @@ -10,9 +10,9 @@
multi_qemu() { - export CCI_SRC=/c/compass-ci + [ -n "$CCI_SRC" ] || export CCI_SRC=~/compass-ci local hostname=$tbox_group.$HOSTNAME - + cd "$CACHE_DIR" $CCI_SRC/providers/multi-qemu -n "$hostname" -c "$nr_vm" -q "$queues" }