aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool/sysroot_wrapper/switch_to_bad.sh
blob: 62a908f4e4cec217fc1b9ba20e8c86941e4fe3ff (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -u

source ./sysroot_wrapper/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

exit 0