Skip to content

Commit

Permalink
The shebang must be on the first line. Delete blanks and move comments (
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 authored Sep 3, 2021
1 parent df2e4d5 commit b7bef6d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions hack/lib/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -x

readonly YURT_ALL_TARGETS=(
Expand Down
4 changes: 2 additions & 2 deletions hack/lib/common.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -x

# get_output_name generates the executable's name. If the $PROJECT_PREFIX
Expand Down
4 changes: 2 additions & 2 deletions hack/lib/init.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail
Expand Down
4 changes: 2 additions & 2 deletions hack/lib/release-images.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -x

YURT_IMAGE_DIR=${YURT_OUTPUT_DIR}/images
Expand Down
4 changes: 2 additions & 2 deletions hack/make-rules/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -x

YURT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
Expand Down
4 changes: 2 additions & 2 deletions hack/make-rules/release-images.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2020 The OpenYurt Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -12,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/usr/bin/env bash

set -x

YURT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
Expand Down

0 comments on commit b7bef6d

Please sign in to comment.