repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-0.0.4
[lilypond.git]
/
make_patch
blob
08f4936b563092fec113563b236e8aa23631cfc7
1
#!/bin/sh
2
old
=
$1
3
new
=
$2
4
nm
=
$3
-
5
newarc
=
$nm$new
.
tar
.gz
6
oldarc
=
$nm$old
.
tar
.gz
7
if
[ !
-f
$newarc
]
8
then
9
echo
cant
find
$newarc
10
exit
11
fi
12
if
[ !
-f
$oldarc
]
13
then
14
echo
cant
find
oldarc
15
exit
16
fi
17
if
[ !
-x
$nm$new
]
18
then
19
echo
untarring ..
20
tar
zfxv
$nm$new
.
tar
.gz
21
fi
22
if
[ !
-x
$nm$old
]
23
then
24
echo
untarring
25
tar
zfxv
$nm$old
.
tar
.gz
26
fi
27
28
#(cd $nm$old; touch depend; make clean)
29
#(cd $nm$new; touch depend; make clean)
30
(
cd
$nm$new
;
diff
-P -c
..
/
$nm$old
.
>
..
/
patch-
$new
)
31
rm
-rf
$nm$old