
21 Dec
2020
21 Dec
'20
7:46 p.m.
On Mon, Dec 21, 2020 at 05:55:46PM +0800, Hu Xuejiao wrote:
$CACHE_DIR is not created in crystal
Signed-off-by: Hu XueJiao <1034502035@qq.com> --- daemon/multi-qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/multi-qemu b/daemon/multi-qemu index 90197dae..87b40758 100755 --- a/daemon/multi-qemu +++ b/daemon/multi-qemu @@ -13,7 +13,7 @@ multi_qemu() export CCI_SRC=${CCI_SRC:-"/c/compass-ci"} local hostname=$tbox_group.$HOSTNAME
- cd "$CACHE_DIR" + [ -n "$CACHE_DIR" ] && cd "$CACHE_DIR"
use -d to test directory? Thanks, Yong