repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
utimens(2) system call
[minix3.git]
/
releasetools
/
nbsd_diff.sh
blob
d0edb06ac77e48e15d1334d97a10dfd08dcb4743
1
#!/bin/sh
2
diff
=
$3
3
rm
-f
"
$diff
"
4
if
[ !
-d
"
$1
"
-o
!
-d
"
$2
"
]
5
then
echo
Skipping
$diff
6
exit
0
7
fi
8
diff
-aru
$1 $2
| \
9
sed
/
"^Only in"
/
d | \
10
sed
-e
's/^\(---.*\)
\t
.*/\1/'
| \
11
sed
-e
's/^\(\+\+\+.*\)
\t
.*/\1/'
>
$diff
12
13
if
[ !
-s
"
$diff
"
]
14
then
rm
-f
"
$diff
"
15
fi