···6969 # try to detect share/doc/${shareDocName}
7070 # Note: sadly, $configureScript detection comes later in configurePhase,
7171 # and reordering would cause more trouble than worth.
7272- if [ -z "$shareDocName" ]; then
7373- local confScript="$configureScript"
7272+ if [ -z "${shareDocName:-}" ]; then
7373+ local confScript="${configureScript:-}"
7474 if [ -z "$confScript" ] && [ -x ./configure ]; then
7575 confScript=./configure
7676 fi
+1-1
pkgs/build-support/setup-hooks/patch-shebangs.sh
···5353 read -r oldInterpreterLine < "$f"
5454 read -r oldPath arg0 args <<< "${oldInterpreterLine:2}"
55555656- if [[ -z "$pathName" ]]; then
5656+ if [[ -z "${pathName:-}" ]]; then
5757 if [[ -n $strictDeps && $f == "$NIX_STORE"* ]]; then
5858 pathName=HOST_PATH
5959 else