Skip to content

Commit

Permalink
make_script.template.sh: Format script and remove semicolons
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski authored and oharboe committed Apr 18, 2024
1 parent b9ee2ab commit 86cdded
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions make_script.template.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
set -uo pipefail; set +e; f=bazel_tools/tools/bash/runfiles/runfiles.bash;
#!/bin/bash
set -uo pipefail
set +e
f=bazel_tools/tools/bash/runfiles/runfiles.bash
source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null ||
source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null ||
source "$0.runfiles/$f" 2>/dev/null ||
source "$(grep -sm1 "^$f " "$0.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null ||
source "$(grep -sm1 "^$f " "$0.exe.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null ||
{ echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e;
{
echo>&2 "ERROR: cannot find $f"
exit 1
}
f=
set -e

0 comments on commit 86cdded

Please sign in to comment.