From: Zen Dodd Date: Sat, 6 Jun 2026 02:25:48 +0000 (+1000) Subject: build: fix rrsync manpage fallback X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5a7500707395b02145249c94ca585f3d85ff9bc;p=thirdparty%2Frsync.git build: fix rrsync manpage fallback --- diff --git a/maybe-make-man b/maybe-make-man index c7af7393..b751ebc5 100755 --- a/maybe-make-man +++ b/maybe-make-man @@ -15,7 +15,7 @@ if [ ! -f "$flagfile" ]; then if "$srcdir/md-convert" --test "$srcdir/rsync-ssl.1.md" >/dev/null 2>&1; then touch $flagfile else - outname=`echo "$inname" | sed 's/\.md$//'` + outname=`basename "$inname" .md` if [ -f "$outname" ]; then exit 0 elif [ -f "$srcdir/$outname" ]; then