Skip to content

Commit

Permalink
change /bin/bash to /usr/bin/env bash .
Browse files Browse the repository at this point in the history
  • Loading branch information
maraflush committed Jul 24, 2020
1 parent d30bb96 commit 1db03b0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions git_eol_normalization.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
git add . -u
git commit -m "Saving files before refreshing line endings"
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"
2 changes: 1 addition & 1 deletion resources/ffdec.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion travis/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#stop on error
set -e

Expand Down
2 changes: 1 addition & 1 deletion travis/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Exit immediately on first error
set -e
Expand Down
2 changes: 1 addition & 1 deletion travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
#!/usr/bin/env bash
ant deps
2 changes: 1 addition & 1 deletion travis/script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#stop on error
set -e

Expand Down

0 comments on commit 1db03b0

Please sign in to comment.