Commit da2ae30b authored by Li Yazhou's avatar Li Yazhou
Browse files

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1007,6 +1007,8 @@ unset RUBYLIB

trap build_failed ERR
mkdir -p "$BUILD_PATH"
ln -nsf "$BUILD_PATH" "${TMP}/ruby-build.latest"
ln -nsf "$LOG_PATH" "${TMP}/ruby-build.latest.log"
source "$DEFINITION_PATH"
[ -z "${KEEP_BUILD_PATH}" ] && rm -fr "$BUILD_PATH"
trap - ERR