Use date+pid instead of random number

This commit is contained in:
Sam Stephenson 2011-08-07 12:33:09 -05:00
parent a9653dfe26
commit e555c4b444

View file

@ -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"