From e555c4b4443c497fd829f122aa2ec0fdc0bbc794 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sun, 7 Aug 2011 12:33:09 -0500 Subject: [PATCH] Use date+pid instead of random number --- bin/ruby-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index aba482ea..7344a043 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -109,7 +109,7 @@ if [ -z "$PREFIX_PATH" ]; then usage fi -SEED="$$-${RANDOM}" +SEED="$(date "+%Y%m%d%H%M%S").$$" LOG_PATH="/tmp/ruby-build.${SEED}.log" TEMP_PATH="/tmp/ruby-build.${SEED}" RUBY_BIN="${PREFIX_PATH}/bin/ruby"