Package: rsync / 3.2.7-1

fix_rrsync_man_generation.patch Patch series | download
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
Description: Fix manpage installation for rrsync
 Otherwise we would get "ERROR: support/rrsync.1 cannot be created."
 I'm not confident this is the best approach on solving this issue,
 but I know this works with no regressions.
 This patch needs to be reviewed before being submitted to upstream.
Author: Samuel Henrique <[email protected]>
Index: rsync/maybe-make-man
===================================================================
--- rsync.orig/maybe-make-man
    rsync/maybe-make-man
@@ -22,12  22,8 @@ if [ ! -f "$flagfile" ]; then
 	    cp -p "$srcdir/$outname" .
 	    exit 0
 	else
-	    echo "ERROR: $outname cannot be created."
-	    if [ -f "$HOME/build_farm/build_test.fns" ]; then
-		exit 0 # No exit errorno to avoid a build failure in the samba build farm
-	    else
-		exit 1
-	    fi
 		"$srcdir/md-convert" "$srcdir/$inname"
 	    cp -p "$srcdir/$outname" .
 	fi
     fi
 fi