Debian Codegraph @

debian/patches/fix_rrsync_man_generation.patch

raw
1 From: Samuel Henrique <[email protected]>
2 Date: Fri, 12 Apr 2024 00:11:07 +0100
3 Subject: Fix manpage installation for rrsync
4
5 Otherwise we would get "ERROR: support/rrsync.1 cannot be created."
6 I'm not confident this is the best approach on solving this issue,
7 but I know this works with no regressions.
8 This patch needs to be reviewed before being submitted to upstream.
9 ===================================================================
10 ---
11 maybe-make-man | 8 ++------
12 1 file changed, 2 insertions(+), 6 deletions(-)
13
14 diff --git a/maybe-make-man b/maybe-make-man
15 index b751ebc..1888559 100755
16 --- a/maybe-make-man
17 +++ b/maybe-make-man
18 @@ -23,12 +23,8 @@ if [ ! -f "$flagfile" ]; then
19 cp -p "$srcdir/$outname" .
20 exit 0
21 else
22 - echo "ERROR: $outname cannot be created."
23 - if [ -f "$HOME/build_farm/build_test.fns" ]; then
24 - exit 0 # No exit errorno to avoid a build failure in the samba build farm
25 - else
26 - exit 1
27 - fi
28 + "$srcdir/md-convert" "$srcdir/$inname"
29 + cp -p "$srcdir/$outname" .
30 fi
31 fi
32 fi