Skip to content
This repository

Use /usr/bin/env bash #5

Open
wants to merge 1 commit into from

2 participants

Phillip Neumann Andreas Brekken
Phillip Neumann

Some OS's doesnt have bash in /bin.. :)

Andreas Brekken
abrkn commented May 27, 2012

or just start using node instead of bash and show some love for other platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 02, 2012
Phillip Neumann Use /usr/bin/env bash instead of /bin/bash 5e3ee67
This page is out of date. Refresh to see the latest.
2  bin/command.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash
  1
+#!/usr/bin/env bash
2 2
 if test -z "$*"; then
3 3
   fleet-help
4 4
 else
2  bin/help.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash
  1
+#!/usr/bin/env bash
2 2
 rootdir=$(fleet rootdir)
3 3
 
4 4
 if test -z "$1" || test "$1" = "commands"; then
2  doc/generate.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash
  1
+#!/usr/bin/env bash
2 2
 mkdir -p man1
3 3
 
4 4
 for file in doc/*.markdown; do
2  example/local-cluster/start.sh
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/bash
  1
+#!/usr/bin/env bash
2 2
 
3 3
 secret='beepboop'
4 4
 tmpdir=/tmp/$(node -e '(Math.random()*Math.pow(2,32)).toString(16)')
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.