Merge pull request #85 from maraflush/change-harcoded-shebang-patch

change /bin/bash to /usr/bin/env bash [ci skip]
This commit is contained in:
Jindra Petřík
2021-01-01 09:29:11 +01:00
committed by GitHub
7 changed files with 8 additions and 8 deletions

View File

@@ -323,7 +323,7 @@
<target name="osx-app-bundle" depends="-loadversion,dist">
<property name="app.script.temp" value="${app.bundle.dir}/${app.osx.dir}.app/Contents/MacOS/${app.osx.dir}"/>
<echo file="${app.script.temp}">#!/bin/bash&#10;$(dirname "$${BASH_SOURCE[0]}")/../Resources/${app.script} "$$&#64;"</echo>
<echo file="${app.script.temp}">#!/usr/bin/env bash&#10;$(dirname "$${BASH_SOURCE[0]}")/../Resources/${app.script} "$$&#64;"</echo>
<property name="app.info.temp" value="${app.bundle.dir}/${app.osx.dir}.app/Contents/Info.plist"/>
<echo file="${app.info.temp}"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
git add . -u
git commit -m "Saving files before refreshing line endings"
@@ -6,4 +6,4 @@ git rm --cached -r .
git reset --hard
git add .
set +e
git commit -m "Normalize all the line endings"
git commit -m "Normalize all the line endings"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Based on Freerapid Downloader startup script - created by Petris 2009
# FFDec requires Oracle Java 8

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#stop on error
set -e

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Exit immediately on first error
set -e

View File

@@ -1,2 +1,2 @@
#!/bin/bash
#!/usr/bin/env bash
ant deps

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#stop on error
set -e