aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbinary_search_tool/android/switch_to_bad.sh2
-rwxr-xr-xbinary_search_tool/android/switch_to_good.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/binary_search_tool/android/switch_to_bad.sh b/binary_search_tool/android/switch_to_bad.sh
index f746b628..d44f9f13 100755
--- a/binary_search_tool/android/switch_to_bad.sh
+++ b/binary_search_tool/android/switch_to_bad.sh
@@ -18,7 +18,7 @@ source android/common.sh
OBJ_LIST_FILE=$1
# Symlink from BAD obj to working tree.
-SWITCH_CMD="ln -f ${BISECT_BAD_BUILD}/{} {}; touch {};"
+SWITCH_CMD="ln -sf ${BISECT_BAD_BUILD}/{} {}; touch {};"
overall_status=0
diff --git a/binary_search_tool/android/switch_to_good.sh b/binary_search_tool/android/switch_to_good.sh
index 1c046c3f..557553c3 100755
--- a/binary_search_tool/android/switch_to_good.sh
+++ b/binary_search_tool/android/switch_to_good.sh
@@ -17,7 +17,7 @@ source android/common.sh
OBJ_LIST_FILE=$1
# Symlink from GOOD obj to working tree.
-SWITCH_CMD="ln -f ${BISECT_GOOD_BUILD}/{} {}; touch {};"
+SWITCH_CMD="ln -sf ${BISECT_GOOD_BUILD}/{} {}; touch {};"
overall_status=0