"perm +" notation deprecated in newer "find"

Bug #1506097 reported by Trevor Woerner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
New
Undecided
Unassigned

Bug Description

Newer versions of the "find" utility have deprecated the following notation:

    -perm +111

and replaced it with:

    -perm /111

Please consider applying the following patch to build-toolchain.sh:

--- gcc-arm-none-eabi-4_9-2015q3-20150921.ORIG/build-toolchain.sh 2015-07-09 08:06:25.722378574 -0400
+++ gcc-arm-none-eabi-4_9-2015q3-20150921/build-toolchain.sh 2015-07-09 00:25:29.843937932 -0400
@@ -591,7 +591,7 @@
         strip_binary strip $bin
     done

- STRIP_BINARIES=`find $INSTALLDIR_NATIVE/lib/gcc/arm-none-eabi/$GCC_VER/ -maxdepth 1 -name \* -perm +111 -and ! -type d`
+ STRIP_BINARIES=`find $INSTALLDIR_NATIVE/lib/gcc/arm-none-eabi/$GCC_VER/ -maxdepth 1 -name \* -perm /111 -and ! -type d`
     for bin in $STRIP_BINARIES ; do
         strip_binary strip $bin
     done

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.