1 diff --git a/Makefile.in b/Makefile.in
2 index 877c54f..3e39ed1 100644
5 @@ -209,6 +209,8 @@ $(NSS_VERSION).tar.gz:
7 $(nss_static_libs): $(NSS_VERSION).tar.gz
8 tar xf $(NSS_VERSION).tar.gz
9 + sed -i -e "1s@#!/usr/bin/env bash@#!$$(type -p bash)@" $(NSS_VERSION)/nss/build.sh
10 + sed -i -e "s@/usr/bin/\(env \)\?grep@$$(type -p grep)@" $(NSS_VERSION)/nss/coreconf/config.gypi
12 ifeq ($(host),$(build))
13 # Native build, use NSS' build script.