Commit da2ae30b by Li Yazhou

link the latest ruby-build.$SEED.log and ruby-build.$SEED/ to…

link the latest ruby-build.$SEED.log and ruby-build.$SEED/ to ruby-build.latest.log and ruby-build.latest/ respectively
parent 276ef2ff
...@@ -1007,6 +1007,8 @@ unset RUBYLIB ...@@ -1007,6 +1007,8 @@ unset RUBYLIB
trap build_failed ERR trap build_failed ERR
mkdir -p "$BUILD_PATH" mkdir -p "$BUILD_PATH"
ln -nsf "$BUILD_PATH" "${TMP}/ruby-build.latest"
ln -nsf "$LOG_PATH" "${TMP}/ruby-build.latest.log"
source "$DEFINITION_PATH" source "$DEFINITION_PATH"
[ -z "${KEEP_BUILD_PATH}" ] && rm -fr "$BUILD_PATH" [ -z "${KEEP_BUILD_PATH}" ] && rm -fr "$BUILD_PATH"
trap - ERR trap - ERR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment