summaryrefslogtreecommitdiff
path: root/lang/nodejs4/patches/patch-deps_v8_tools_run-llprof.sh
blob: 652926058f61b3e72b6f118aac0d954be0ee51da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-deps_v8_tools_run-llprof.sh,v 1.1 2015/11/09 20:21:51 fhajny Exp $

POSIX shell portability.

--- deps/v8/tools/run-llprof.sh.orig	2015-03-31 22:13:01.000000000 +0000
+++ deps/v8/tools/run-llprof.sh
@@ -46,7 +46,7 @@ framework, then calls the low level tick
 EOF
 }
 
-if [ $# -eq 0 ] || [ "$1" == "-h" ]  || [ "$1" == "--help" ] ; then
+if [ $# -eq 0 ] || [ "$1" = "-h" ]  || [ "$1" = "--help" ] ; then
   usage
   exit 1
 fi