repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Find git executable at run time
[git-darcs-import.git]
/
tests
/
network
/
bug.sh
blob
5e7fd07a7bbacd8d5741bdc9ce70b2dd0db5ff55
1
#!/bin/env bash
2
3
set -ev
4
5
## The builtin ! has the wrong semantics for not.
6
not
() {
"$@"
&&
exit
1
||
:; }
7
8
rm
-rf
temp
9
mkdir temp
10
cd
temp
11
12
not darcs show bug
&>
bugout
13
cat
bugout
14
grep
'lease report this'
bugout
15
16
cd
..
17
rm
-rf
temp