Commit 4160c9a
committed
Fix missing shebang in failover shell scripts
Add shebang line to failover scripts to fix RPM build warnings.
During RPM package build, rpmbuild reports warnings about executable
files without shebang lines. This causes the build process to remove
the executable bit from these scripts.
The following scripts are fixed:
- master_check_back.sh
- standby_check_back.sh
- segment_check_back.sh
- segment_all_down.sh
- docker_master_check_back.sh
- docker_standby_check_back.sh
- docker_segment_check_back.sh
Use "#!/usr/bin/env bash" for better cross-platform compatibility.
See: #14451 parent 82bc99c commit 4160c9a
File tree
7 files changed
+7
-3
lines changed- src/bin/gpfts/failover
7 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments