mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 17:44:10 +00:00
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:
@@ -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 $(dirname "$${BASH_SOURCE[0]}")/../Resources/${app.script} "$$@"</echo>
|
||||
<echo file="${app.script.temp}">#!/usr/bin/env bash $(dirname "$${BASH_SOURCE[0]}")/../Resources/${app.script} "$$@"</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">
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#stop on error
|
||||
set -e
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Exit immediately on first error
|
||||
set -e
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
ant deps
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#stop on error
|
||||
set -e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user