Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rwxr-xr-xscripts/clean-old.sh2
-rwxr-xr-xscripts/dep-update2
-rwxr-xr-xscripts/dev-dep-update2
-rw-r--r--scripts/release.sh2
-rwxr-xr-xscripts/relocate.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index b13c8d0d7..f177f43a3 100755
--- a/configure
+++ b/configure
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# set configurations that will be "sticky" on this system,
# surviving npm self-updates.
diff --git a/scripts/clean-old.sh b/scripts/clean-old.sh
index cda80f2f4..32a203e4a 100755
--- a/scripts/clean-old.sh
+++ b/scripts/clean-old.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# look for old 0.x cruft, and get rid of it.
# Should already be sitting in the npm folder.
diff --git a/scripts/dep-update b/scripts/dep-update
index 52abd518c..006de17c7 100755
--- a/scripts/dep-update
+++ b/scripts/dep-update
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
node . install --save $1@$2 &&\
node scripts/gen-dev-ignores.js &&\
git add node_modules package.json package-lock.json &&\
diff --git a/scripts/dev-dep-update b/scripts/dev-dep-update
index c8c960475..cb0b783a8 100755
--- a/scripts/dev-dep-update
+++ b/scripts/dev-dep-update
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
node . install --save --save-dev $1@$2 &&\
node scripts/gen-dev-ignores.js &&\
git add package.json package-lock.json &&\
diff --git a/scripts/release.sh b/scripts/release.sh
index 705f21502..e071c7ede 100644
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# script for creating a zip and tarball for inclusion in node
diff --git a/scripts/relocate.sh b/scripts/relocate.sh
index b7483f296..ff40f857a 100755
--- a/scripts/relocate.sh
+++ b/scripts/relocate.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Change the cli shebang to point at the specified node
# Useful for when the program is moved around after install.