nixpkgs/pkgs/development/tools/build-managers/bazel/java_stub_template.patch

16 lines
757 B
Diff

commit 5525326e3287243e0e7417de96bf7d58d04b4c8b
Author: Irene Knapp <ireneista@google.com>
Date: Sat Oct 8 19:36:12 2016 -0700
Change #!/bin/bash to #!/usr/bin/env bash.
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt
index f77051f..fbf367a 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt
@@ -1,4 +1,4 @@
-#!/bin/bash --posix
+#!/usr/bin/env bash
# Copyright 2014 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");