From e39bfb17727471938eec89cef5afb04bfc57357b Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 11 Aug 2010 14:41:00 -0700 Subject: $RANDOM isn't random in real sh --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 \ -- cgit v1.2.3