1 Reply Latest reply on Dec 15, 2014 8:06 AM by JPMontero_Intel

    install_script.sh - wrong find arguments

    mdw

      install_script.sh (in arduino-1.5.3-Intel.1.0.4/hardware/tools, lines 110-111) uses the now unsupported "find -perm +xxx" syntax.

      #executable_files="'"$($SUDO_EXEC find "$native_sysroot" -type f -perm +111)"'"

      executable_files=$($SUDO_EXEC find "$native_sysroot" -type f -perm +111 -exec printf "\"%s\" " {} \; )

      This should be the right fix-up:

      #executable_files="'"$($SUDO_EXEC find "$native_sysroot" -type f -perm /111)"'"

      executable_files=$($SUDO_EXEC find "$native_sysroot" -type f -perm /111 -exec printf "\"%s\" " {} \; )