Skip to content

Commit

Permalink
Use date+pid instead of random number
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed Aug 7, 2011
1 parent a9653df commit e555c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ruby-build
Expand Up @@ -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"
Expand Down

0 comments on commit e555c4b

Please sign in to comment.