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/install.sh')
-rwxr-xr-xscripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 279dda215..9c6d802f2 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-r=$RANDOM
+r=${RANDOM-$(date +%s)}
mkdir npm-$r \
&& cd npm-$r \
&& curl -L http://github.com/isaacs/npm/tarball/master | tar xzf - --strip-components=1 \