summaryrefslogtreecommitdiff
path: root/libre/sh-roundup/makefile-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/sh-roundup/makefile-fix.patch')
-rw-r--r--libre/sh-roundup/makefile-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/sh-roundup/makefile-fix.patch b/libre/sh-roundup/makefile-fix.patch
new file mode 100644
index 000000000..b97bebf23
--- /dev/null
+++ b/libre/sh-roundup/makefile-fix.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig
++++ Makefile
+@@ -79,7 +79,7 @@
+ chmod 0755 $(bindir)/roundup
+
+ install-man: man
+- -for i in {1..9} ; do cp *.$$i $(mandir)/man$$i 2>/dev/null ; done
++ shopt -s nullglob; for file in *.{1..9}; do install -Dm644 $$file $(mandir)/man$${file##*.}/$${file##*/}; done
+
+ .PHONY: pages
+ pages : doc