File: 006_findutils_syntax.diff

package info (click to toggle)
freealut 1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,148 kB
  • sloc: sh: 8,617; ansic: 2,738; makefile: 89
file content (26 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download | duplicates (3)
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
26
Description: Fix usage of deprecated findutils syntax
Bug-Debian: https://bugs.debian.org/711706
Bug-Debian: https://bugs.debian.org/724771

--- a/Makefile.am
+++ b/Makefile.am
@@ -33,7 +33,7 @@ libtool: $(LIBTOOL_DEPS)
 
 # The Creative repository has some broken permissions, let's fix this.
 permissions:
-	find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
+	find . -type f \! -perm /222 \! -name "*.sh" -exec chmod +w {} \;
 
 # Automatically reformat all C headers and sources with indent according to
 # admin/autotools/.indent.pro, but be make-friendly and take some precautions to
--- a/Makefile.in
+++ b/Makefile.in
@@ -675,7 +675,7 @@ libtool: $(LIBTOOL_DEPS)
 
 # The Creative repository has some broken permissions, let's fix this.
 permissions:
-	find . -type f \! -perm +222 \! -name "*.sh" -exec chmod +w {} \;
+	find . -type f \! -perm /222 \! -name "*.sh" -exec chmod +w {} \;
 
 # Automatically reformat all C headers and sources with indent according to
 # admin/autotools/.indent.pro, but be make-friendly and take some precautions to