Comment 0 for bug 220658

Revision history for this message
Michael Heča (orgoj) wrote : error in completion from Makefile

Binary package hint: bash-completion

When pressing tab key after "make ", in directory where is file Makefile, message "grep: ./makefile: No such file or directory" is shown.

It's like bash do case insensitive compare in file /etc/bash_completion in next section:

                # make reads `GNUmakefile', then `makefile', then `Makefile'
                if [ -f ${makef_dir}/GNUmakefile ]; then
                        makef=${makef_dir}/GNUmakefile
                elif [ -f ${makef_dir}/makefile ]; then
                        makef=${makef_dir}/makefile
                elif [ -f ${makef_dir}/Makefile ]; then
                        makef=${makef_dir}/Makefile
                else
                        makef=${makef_dir}/*.mk # local convention
                fi

After update from 7.10 to 8.04 LTS. In version 7.10 is completion ok.