isaacs/npm — Issue #2004: /bin/npm-cli.js uses #/usr/bin/env while scripts/doc-build.sh use #/bin/bash
Author: yvesf
Created: 2012-01-07 17:35:58+00:00
State: open

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

```diff
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
´´´