Explorar o código

package/Makefile: Substituted deprecated -perm +mode with -perm /mode

The find(1) -perm +mode is no longer supported and has been deprecated since
2005.

This could resolve #13855 ticket.

Signed-off-by: Rocco Folino <[email protected]>

SVN-Revision: 40927
John Crispin %!s(int64=11) %!d(string=hai) anos
pai
achega
3936ed4028
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/Makefile

+ 1 - 1
package/Makefile

@@ -26,7 +26,7 @@ ifdef CONFIG_USE_MKLIBS
   define mklibs
   define mklibs
 	rm -rf $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-out
 	rm -rf $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-out
 	# first find all programs and add them to the mklibs list
 	# first find all programs and add them to the mklibs list
-	find $(STAGING_DIR_ROOT) -type f -perm +100 -exec \
+	find $(STAGING_DIR_ROOT) -type f -perm /100 -exec \
 		file -r -N -F '' {} + | \
 		file -r -N -F '' {} + | \
 		awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs
 		awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs
 	# find all loadable objects that are not regular libraries and add them to the list as well
 	# find all loadable objects that are not regular libraries and add them to the list as well