blob: 1eee582531e036529a5c9464c552cd2d962a021e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
#
# makediff old-version new-version
#
# install diff of old and new versions of Lout
# Jeff Kingston March 2000
#
OLD=$1
NEW=$2
echo "installing diff from lout-${OLD} to lout-${NEW}"
echo ""
echo "unpacking lout-${OLD}"
gunzip lout-${OLD}.tar.gz
tar xf lout-${OLD}.tar
echo ""
echo "unpacking lout-${NEW}"
gunzip lout-${NEW}.tar.gz
tar xf lout-${NEW}.tar
echo ""
echo "diffing lout-${OLD} to lout-${NEW}"
gnudiff -u --recursive --new-file lout-${OLD} lout-${NEW} > lout-${OLD}-to-${NEW}
gzip lout-${OLD}-to-${NEW}
echo ""
echo "removing lout-${OLD} and lout-${NEW} and rezipping their tar files"
rm -fr lout-${OLD} lout-${NEW}
gzip lout-${OLD}.tar
gzip lout-${NEW}.tar
echo ""
echo "done; here is an ls to prove it"
ls
|