Description: More stable shell in build output When detecting a POSIX shell, try constant systems paths first because that is more likely to give a reproducible build output. Author: Ximin Luo Bug: https://www.mail-archive.com/address@hidden/ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806331 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/m4/posix-shell.m4 +++ b/m4/posix-shell.m4 @@ -43,7 +43,7 @@ subshell_umask_sanity ' for gl_cv_posix_shell in \ - "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do + /bin/sh /bin/bash /bin/ksh /bin/sh5 "$CONFIG_SHELL" "$SHELL" no; do case $gl_cv_posix_shell in /*) "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \