mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
Use date+pid instead of random number
This commit is contained in:
parent
a9653dfe26
commit
e555c4b444
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue