run_remote_tests: fix bug where new symlink got created instead of update

The one symlink should be update instead of new links being created.

BUG=12233
TEST=Ran run_remote_test.sh many time and verified that the link is updated.

Change-Id: I63f325e03439e5c922e9fe2300444193146182f9

Review URL: http://codereview.chromium.org/6576051
This commit is contained in:
Mandeep Singh Baines 2011-02-25 10:18:41 -08:00
parent 0a649b57d9
commit 7b86ec098e

View File

@ -77,7 +77,7 @@ function cleanup() {
[[ ${RAN_ANY_TESTS} -eq ${FLAGS_FALSE} ]]; then
rm -rf "${TMP}"
else
ln -sf "${TMP}" /tmp/run_remote_tests.latest
ln -nsf "${TMP}" /tmp/run_remote_tests.latest
echo ">>> Details stored under ${TMP}"
fi
stop_ssh_agent