diff options
Diffstat (limited to 'binary_search_tool/sysroot_wrapper/switch_to_bad.sh')
-rwxr-xr-x | binary_search_tool/sysroot_wrapper/switch_to_bad.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/binary_search_tool/sysroot_wrapper/switch_to_bad.sh b/binary_search_tool/sysroot_wrapper/switch_to_bad.sh index 7aae3504..32f96780 100755 --- a/binary_search_tool/sysroot_wrapper/switch_to_bad.sh +++ b/binary_search_tool/sysroot_wrapper/switch_to_bad.sh @@ -2,9 +2,8 @@ source common/common.sh -cat $1 > ${bisect_dir}/BAD_SET - -grep -v -x -F -f $1 ${bisect_dir}/GOOD_SET > ${bisect_dir}/GOOD_SET.tmp -mv ${bisect_dir}/GOOD_SET.tmp ${bisect_dir}/GOOD_SET +# Remove file, signaling to emerge that it needs to be rebuilt. The compiler +# wrapper will insert the correct object file based on $BISECT_BAD_SET +cat $1 | sudo xargs rm -f exit 0 |