]> git.pld-linux.org Git - packages/mksh.git/blame - get-source.sh
rel 3; drop builtin cat and sleep
[packages/mksh.git] / get-source.sh
CommitLineData
f9769367
ER
1#!/bin/sh
2set -e
3
4CVSROOT=_anoncvs@anoncvs.mirbsd.org:/cvs
5module=mksh
6tag=mksh-R50d
7branch=mksh-R50stable
8out=branch.diff
9
10d=$-
11filter() {
12 set -$d
13 # remove revno's for smaller diffs
14 sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
15}
16
17echo >&2 "Running diff: $tag -> $branch"
18
19cvs -qz8 -d "$CVSROOT" rdiff -u -r"$tag" -r"$branch" "$module" > $out.tmp
20
21if cmp -s $out{,.tmp}; then
22 echo >&2 "No new diffs..."
23 rm -f $out.tmp
24 exit 0
25fi
26mv -f $out{.tmp,}
27
28./dropin $out
This page took 0.0528 seconds and 4 git commands to generate.