We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88f4bcf commit 7d2c18fCopy full SHA for 7d2c18f
bisect/setup.sh
@@ -1,8 +1,7 @@
1
#!/bin/bash
2
source ../utils/utils.sh
3
4
-make-exercise-repo
5
-config-local-username
+pre-setup # Make exercise repo, and setup necessary.
6
7
echo '#! /usr/bin/env bash' > 'test.sh'
8
echo 'if [[ $(( $(find * | wc -l) + 10 )) -gt 32 ]] ;then' >> 'test.sh'
@@ -24,3 +23,4 @@ do
24
23
git commit -m $i
25
done
26
+post-setup
bisect/verify.sh
@@ -1,6 +1,6 @@
#! /usr/bin/env sh
-cd exercise
+cd exercise || exit
if [ "$(git log -1 --format='%s' refs/bisect/bad -- )" = '22' ] ; then
echo "You managed to find the bad commit with bisect"
else
0 commit comments