]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
stop.sh: use bash shell to solve syntax error
authorluo rixin <luorixin@huawei.com>
Mon, 16 Dec 2019 02:32:01 +0000 (10:32 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 16 Dec 2019 02:43:55 +0000 (10:43 +0800)
When running on ubuntu 18.04 for aarch64, there is syntax error in
line 52, caused by the /bin/sh is defalut to dash, which is not
support array type.

Signed-off-by: luo rixin <luorixin@huawei.com>
src/stop.sh

index 0a71752d1d4b9acc93fbeb41f2adcda0ffd59b4f..c539e0bf30c15ec0b4ce660fbf7449372e3d2764 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # Copyright (C) 2013 Inktank <info@inktank.com>
 # Copyright (C) 2013 Cloudwatt <libre.licensing@cloudwatt.com>