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:
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"