Skip to content

Commit

Permalink
Bug 1363146 - tell people to install gyp if it's not installed, r=tta…
Browse files Browse the repository at this point in the history
…ubert

Differential Revision: https://nss-review.dev.mozaws.net/D306

--HG--
extra : amend_source : 51ff39661bcec9247f88696190e576e013fd5bea
  • Loading branch information
franziskuskiefer committed May 8, 2017
1 parent e420e60 commit ffe4ee4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sh
Expand Up @@ -183,7 +183,10 @@ if [[ "$rebuild_nspr" = 1 && "$no_local_nspr" = 0 ]]; then
mv -f "$nspr_config".new "$nspr_config"
fi
if [ "$rebuild_gyp" = 1 ]; then

if ! hash gyp 2> /dev/null; then
echo "Please install gyp" 1>&2
exit 1
fi
# These extra arguments aren't used in determining whether to rebuild.
obj_dir="$dist_dir"/$target
gyp_params+=(-Dnss_dist_obj_dir=$obj_dir)
Expand Down

0 comments on commit ffe4ee4

Please sign in to comment.