Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

$RANDOM isn't random in real sh

  • Loading branch information...
commit e39bfb17727471938eec89cef5afb04bfc57357b 1 parent 7331679
@isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/install.sh
View
2  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 \
Please sign in to comment.
Something went wrong with that request. Please try again.