Skip to content

Commit

Permalink
Merge pull request #291 from i18n-now/master
Browse files Browse the repository at this point in the history
use #!/usr/bin/env bash and fix doc
  • Loading branch information
Teingi authored Jul 3, 2024
2 parents 429c38a + 33a7719 commit 8d895d0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sh /usr/local/oceanbase-diagnostic-tool/init.sh

```shell
pip3 install -r requirements3.txt
sh dev_init.sh
./dev_init.sh
source ~/.bashrc
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To install obdiag on Python >= 3.8, run these commands:

```shell
pip3 install -r requirements3.txt
sh dev_init.sh
./dev_init.sh
source ~/.bashrc
```

Expand Down
2 changes: 1 addition & 1 deletion dev_init.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

PROJECT_PATH=$(cd "$(dirname "$0")"; pwd)
WORK_DIR=$(readlink -f "$(dirname ${BASH_SOURCE[0]})")
Expand Down
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ $# == 1 && $1 == "-f" ]]; then
FORCE_DEPLOY="1"
Expand Down
2 changes: 1 addition & 1 deletion rpm/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

python_bin='python'
W_DIR=`pwd`
Expand Down
2 changes: 1 addition & 1 deletion rpm/obdiag-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

PROJECT_DIR=$1
PROJECT_NAME=$2
Expand Down

0 comments on commit 8d895d0

Please sign in to comment.