Skip to content

Commit

Permalink
treewide: fix some shebangs
Browse files Browse the repository at this point in the history
Some bash scripts have shebangs that point directly to the bash
interpreter, rather than going through /usr/bin/env. Replace these in
in bash scripts that are invoked in tests.

Signed-off-by: Mark Pashmfouroush <mark@isovalent.com>
  • Loading branch information
markpash authored and borkmann committed Jun 28, 2023
1 parent aebe9d7 commit 816ae37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bpf/tests/builtin_gen
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright Authors of Cilium

Expand Down
4 changes: 3 additions & 1 deletion pkg/datapath/loader/check-sources.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#! /bin/bash -efu
#!/usr/bin/env bash

set -efu

#
# This simple awk command extracts file names from the definition of the
Expand Down
2 changes: 1 addition & 1 deletion test/provision/docker-run-cilium-docker-plugin.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

CILIUM_DOCKER_PLUGIN_IMAGE=${CILIUM_DOCKER_PLUGIN_IMAGE:-cilium/docker-plugin:latest}

Expand Down

0 comments on commit 816ae37

Please sign in to comment.