/bin/npm-cli.js uses #/usr/bin/env while scripts/doc-build.sh use #/bin/bash #2004

Closed
yvesf opened this Issue Jan 7, 2012 · 0 comments

Projects

None yet

1 participant

@yvesf
yvesf commented Jan 7, 2012

... therefore scripts/doc-build.sh doesnt work if bash is in /usr/local/bin

diff --git a/scripts/doc-build.sh b/scripts/doc-build.sh
index 6c32ea1..d0e9e92 100755
--- a/scripts/doc-build.sh
+++ b/scripts/doc-build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash

 if [[ $DEBUG != "" ]]; then
   set -x
´´´
@domenic domenic closed this in 37bda67 Jun 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment