Skip to content

Commit

Permalink
Fix shebang on shell scripts (DefectDojo#6660)
Browse files Browse the repository at this point in the history
The first line of many shell scripts are missing the "!" character,
which make them not to be taken as proper shebangs.
  • Loading branch information
gnustavo authored Aug 8, 2022
1 parent efc39dc commit 67a2080
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dc-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

bash ./docker/docker-compose-check.sh
if [[ $? -eq 1 ]]; then exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion dc-down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

bash ./docker/docker-compose-check.sh
if [[ $? -eq 1 ]]; then exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion dc-stop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

bash ./docker/docker-compose-check.sh
if [[ $? -eq 1 ]]; then exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion dc-unittest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/env bash
#!/bin/env bash

unset PROFILE
unset TEST_CASE
Expand Down
2 changes: 1 addition & 1 deletion dc-up-d.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

unset PROFILE

Expand Down
2 changes: 1 addition & 1 deletion dc-up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

unset PROFILE

Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

main=`docker-compose version --short | cut -d '.' -f 1`
minor=`docker-compose version --short | cut -d '.' -f 2`
Expand Down

0 comments on commit 67a2080

Please sign in to comment.