···69 # try to detect share/doc/${shareDocName}
70 # Note: sadly, $configureScript detection comes later in configurePhase,
71 # and reordering would cause more trouble than worth.
72- if [ -z "$shareDocName" ]; then
73- local confScript="$configureScript"
74 if [ -z "$confScript" ] && [ -x ./configure ]; then
75 confScript=./configure
76 fi
···69 # try to detect share/doc/${shareDocName}
70 # Note: sadly, $configureScript detection comes later in configurePhase,
71 # and reordering would cause more trouble than worth.
72+ if [ -z "${shareDocName:-}" ]; then
73+ local confScript="${configureScript:-}"
74 if [ -z "$confScript" ] && [ -x ./configure ]; then
75 confScript=./configure
76 fi
+1-1
pkgs/build-support/setup-hooks/patch-shebangs.sh
···53 read -r oldInterpreterLine < "$f"
54 read -r oldPath arg0 args <<< "${oldInterpreterLine:2}"
5556- if [[ -z "$pathName" ]]; then
57 if [[ -n $strictDeps && $f == "$NIX_STORE"* ]]; then
58 pathName=HOST_PATH
59 else
···53 read -r oldInterpreterLine < "$f"
54 read -r oldPath arg0 args <<< "${oldInterpreterLine:2}"
5556+ if [[ -z "${pathName:-}" ]]; then
57 if [[ -n $strictDeps && $f == "$NIX_STORE"* ]]; then
58 pathName=HOST_PATH
59 else