You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bm...@apache.org on 2023/01/05 09:31:45 UTC

[maven-wrapper] branch MWRAPPER-88_posix updated: [MWRAPPER-88] use env in shebang

This is an automated email from the ASF dual-hosted git repository.

bmarwell pushed a commit to branch MWRAPPER-88_posix
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git


The following commit(s) were added to refs/heads/MWRAPPER-88_posix by this push:
     new 1c3682e  [MWRAPPER-88] use env in shebang
1c3682e is described below

commit 1c3682e4c3870498c2ad6f28881210b76ce2bdc4
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Thu Jan 5 10:33:38 2023 +0100

    [MWRAPPER-88] use env in shebang
---
 maven-wrapper-distribution/src/resources/mvnw           | 2 +-
 maven-wrapper-distribution/src/resources/mvnwDebug      | 2 +-
 maven-wrapper-distribution/src/resources/only-mvnw      | 3 ++-
 maven-wrapper-distribution/src/resources/only-mvnwDebug | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/maven-wrapper-distribution/src/resources/mvnw b/maven-wrapper-distribution/src/resources/mvnw
index 2e900dc..a3ae413 100755
--- a/maven-wrapper-distribution/src/resources/mvnw
+++ b/maven-wrapper-distribution/src/resources/mvnw
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
 # ----------------------------------------------------------------------------
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/maven-wrapper-distribution/src/resources/mvnwDebug b/maven-wrapper-distribution/src/resources/mvnwDebug
index 1840e69..2a3602d 100644
--- a/maven-wrapper-distribution/src/resources/mvnwDebug
+++ b/maven-wrapper-distribution/src/resources/mvnwDebug
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
 
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/maven-wrapper-distribution/src/resources/only-mvnw b/maven-wrapper-distribution/src/resources/only-mvnw
index 7e173d6..595ce99 100755
--- a/maven-wrapper-distribution/src/resources/only-mvnw
+++ b/maven-wrapper-distribution/src/resources/only-mvnw
@@ -1,4 +1,5 @@
-#!/bin/sh
+#!/usr/bin/env sh
+
 # ----------------------------------------------------------------------------
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/maven-wrapper-distribution/src/resources/only-mvnwDebug b/maven-wrapper-distribution/src/resources/only-mvnwDebug
index 8e6da18..dc265d1 100644
--- a/maven-wrapper-distribution/src/resources/only-mvnwDebug
+++ b/maven-wrapper-distribution/src/resources/only-mvnwDebug
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
 
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file