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:
authorisaacs <i@izs.me>2010-07-05 22:04:28 +0400
committerisaacs <i@izs.me>2010-07-25 05:51:18 +0400
commit9e9e4b3aaef55c275ec12c697064e074c9855104 (patch)
treeb9ee3e3106c58e990d7f6f991907128b124272c5 /scripts
parent5446a2acd18f9209b2a77249fc9d9103f8223cbf (diff)
Make install script executable, and also report success or die on failure
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--]scripts/install.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 486e2a989..f07517904 100644..100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,6 +1,9 @@
#!/bin/sh
-mkdir npm
-cd npm
-curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1
-make
+mkdir npm \
+ && cd npm \
+ && curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1 \
+ && make \
+ && cd .. \
+ && rm -rf npm \
+ && echo "It worked"