You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/03/10 03:21:59 UTC

[iotdb] branch master updated: [IOTDB-5653] replace first line /bin/sh with /bin/bash of all shell script (#9277)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new d91226fc10 [IOTDB-5653] replace first line /bin/sh with /bin/bash of all shell script (#9277)
d91226fc10 is described below

commit d91226fc105726beff657f42b4e67d14b64959bd
Author: changxue2022 <11...@users.noreply.github.com>
AuthorDate: Fri Mar 10 11:21:53 2023 +0800

    [IOTDB-5653] replace first line /bin/sh with /bin/bash of all shell script (#9277)
---
 cli/src/assembly/resources/sbin/start-cli.sh                       | 2 +-
 cli/src/assembly/resources/tools/export-csv.sh                     | 2 +-
 cli/src/assembly/resources/tools/export-tsfile.sh                  | 2 +-
 cli/src/assembly/resources/tools/import-csv.sh                     | 2 +-
 cli/src/assembly/resources/tools/load-tsfile.sh                    | 2 +-
 node-commons/src/assembly/resources/sbin/iotdb-common.sh           | 2 +-
 node-commons/src/assembly/resources/sbin/start-standalone.sh       | 2 +-
 node-commons/src/assembly/resources/sbin/stop-standalone.sh        | 2 +-
 rewrite-tsfile-tool/src/assembly/resources/sbin/rewrite-tsfile.sh  | 2 +-
 server/src/assembly/resources/sbin/remove-datanode.sh              | 2 +-
 server/src/assembly/resources/tools/schema/print-schema-file.sh    | 2 +-
 server/src/assembly/resources/tools/schema/print-schema-log.sh     | 2 +-
 server/src/assembly/resources/tools/tsfile/print-iotdb-data-dir.sh | 2 +-
 server/src/assembly/resources/tools/tsfile/print-tsfile.sh         | 2 +-
 server/src/assembly/resources/tools/tsfile/settle-tsfile.sh        | 2 +-
 server/src/assembly/resources/tools/tsfile/split-tsfile-tool.sh    | 2 +-
 server/src/assembly/resources/tools/tsfile/validate-tsfile.sh      | 2 +-
 server/src/test/resources/start-sync-test.sh                       | 2 +-
 server/src/test/resources/stop-sync-test.sh                        | 2 +-
 tools/check_sigs.sh                                                | 2 +-
 tools/common.sh                                                    | 2 +-
 tools/download_staged_release.sh                                   | 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/cli/src/assembly/resources/sbin/start-cli.sh b/cli/src/assembly/resources/sbin/start-cli.sh
index d9650ce94e..e384cfa728 100755
--- a/cli/src/assembly/resources/sbin/start-cli.sh
+++ b/cli/src/assembly/resources/sbin/start-cli.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/cli/src/assembly/resources/tools/export-csv.sh b/cli/src/assembly/resources/tools/export-csv.sh
index 51bed92344..41daf679e3 100644
--- a/cli/src/assembly/resources/tools/export-csv.sh
+++ b/cli/src/assembly/resources/tools/export-csv.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/cli/src/assembly/resources/tools/export-tsfile.sh b/cli/src/assembly/resources/tools/export-tsfile.sh
index cb9d74765e..a19eec09f4 100644
--- a/cli/src/assembly/resources/tools/export-tsfile.sh
+++ b/cli/src/assembly/resources/tools/export-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/cli/src/assembly/resources/tools/import-csv.sh b/cli/src/assembly/resources/tools/import-csv.sh
index e64643456a..c90365d30c 100644
--- a/cli/src/assembly/resources/tools/import-csv.sh
+++ b/cli/src/assembly/resources/tools/import-csv.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/cli/src/assembly/resources/tools/load-tsfile.sh b/cli/src/assembly/resources/tools/load-tsfile.sh
index 27facd0224..8e2cbc8102 100644
--- a/cli/src/assembly/resources/tools/load-tsfile.sh
+++ b/cli/src/assembly/resources/tools/load-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/node-commons/src/assembly/resources/sbin/iotdb-common.sh b/node-commons/src/assembly/resources/sbin/iotdb-common.sh
index cc748e946d..3d99851e2c 100755
--- a/node-commons/src/assembly/resources/sbin/iotdb-common.sh
+++ b/node-commons/src/assembly/resources/sbin/iotdb-common.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/node-commons/src/assembly/resources/sbin/start-standalone.sh b/node-commons/src/assembly/resources/sbin/start-standalone.sh
index 7abbef918a..6d81239ab0 100644
--- a/node-commons/src/assembly/resources/sbin/start-standalone.sh
+++ b/node-commons/src/assembly/resources/sbin/start-standalone.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/node-commons/src/assembly/resources/sbin/stop-standalone.sh b/node-commons/src/assembly/resources/sbin/stop-standalone.sh
index 1bcb7626e6..d588fe902e 100644
--- a/node-commons/src/assembly/resources/sbin/stop-standalone.sh
+++ b/node-commons/src/assembly/resources/sbin/stop-standalone.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/rewrite-tsfile-tool/src/assembly/resources/sbin/rewrite-tsfile.sh b/rewrite-tsfile-tool/src/assembly/resources/sbin/rewrite-tsfile.sh
index 606ee545ee..2437774eb0 100644
--- a/rewrite-tsfile-tool/src/assembly/resources/sbin/rewrite-tsfile.sh
+++ b/rewrite-tsfile-tool/src/assembly/resources/sbin/rewrite-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/sbin/remove-datanode.sh b/server/src/assembly/resources/sbin/remove-datanode.sh
index 6bb08d25e8..ada9089aa4 100644
--- a/server/src/assembly/resources/sbin/remove-datanode.sh
+++ b/server/src/assembly/resources/sbin/remove-datanode.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/schema/print-schema-file.sh b/server/src/assembly/resources/tools/schema/print-schema-file.sh
index 8bc98a4285..1f7df6a107 100644
--- a/server/src/assembly/resources/tools/schema/print-schema-file.sh
+++ b/server/src/assembly/resources/tools/schema/print-schema-file.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/schema/print-schema-log.sh b/server/src/assembly/resources/tools/schema/print-schema-log.sh
index 6003249684..6730b23131 100644
--- a/server/src/assembly/resources/tools/schema/print-schema-log.sh
+++ b/server/src/assembly/resources/tools/schema/print-schema-log.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/tsfile/print-iotdb-data-dir.sh b/server/src/assembly/resources/tools/tsfile/print-iotdb-data-dir.sh
index 9deb80b9c4..131d67d362 100644
--- a/server/src/assembly/resources/tools/tsfile/print-iotdb-data-dir.sh
+++ b/server/src/assembly/resources/tools/tsfile/print-iotdb-data-dir.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/tsfile/print-tsfile.sh b/server/src/assembly/resources/tools/tsfile/print-tsfile.sh
index 35c26594f2..8864ca877e 100644
--- a/server/src/assembly/resources/tools/tsfile/print-tsfile.sh
+++ b/server/src/assembly/resources/tools/tsfile/print-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/tsfile/settle-tsfile.sh b/server/src/assembly/resources/tools/tsfile/settle-tsfile.sh
index 384a82cf94..3071360468 100644
--- a/server/src/assembly/resources/tools/tsfile/settle-tsfile.sh
+++ b/server/src/assembly/resources/tools/tsfile/settle-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/tsfile/split-tsfile-tool.sh b/server/src/assembly/resources/tools/tsfile/split-tsfile-tool.sh
index 0af432f7f8..0265cb4ac2 100644
--- a/server/src/assembly/resources/tools/tsfile/split-tsfile-tool.sh
+++ b/server/src/assembly/resources/tools/tsfile/split-tsfile-tool.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/assembly/resources/tools/tsfile/validate-tsfile.sh b/server/src/assembly/resources/tools/tsfile/validate-tsfile.sh
index f02121a573..c37bda1c1c 100644
--- a/server/src/assembly/resources/tools/tsfile/validate-tsfile.sh
+++ b/server/src/assembly/resources/tools/tsfile/validate-tsfile.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/test/resources/start-sync-test.sh b/server/src/test/resources/start-sync-test.sh
index 7ad92269c3..4754ce39e4 100644
--- a/server/src/test/resources/start-sync-test.sh
+++ b/server/src/test/resources/start-sync-test.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/server/src/test/resources/stop-sync-test.sh b/server/src/test/resources/stop-sync-test.sh
index cdddbf5b50..1e1ae6400b 100644
--- a/server/src/test/resources/stop-sync-test.sh
+++ b/server/src/test/resources/stop-sync-test.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/tools/check_sigs.sh b/tools/check_sigs.sh
index 6bf03a9c77..6e897e96f5 100755
--- a/tools/check_sigs.sh
+++ b/tools/check_sigs.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ################################################################################
 ##
diff --git a/tools/common.sh b/tools/common.sh
index ef27f91977..68ced36a6b 100755
--- a/tools/common.sh
+++ b/tools/common.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ################################################################################
 ##
diff --git a/tools/download_staged_release.sh b/tools/download_staged_release.sh
index cacd8be9bc..32708ccf67 100755
--- a/tools/download_staged_release.sh
+++ b/tools/download_staged_release.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 ################################################################################
 ##