pkgsrc-ng/lang/nodejs/patches/patch-deps_v8_tools_run-llprof.sh
2016-01-21 23:41:46 +01:00

16 lines
441 B
Bash

$NetBSD: patch-deps_v8_tools_run-llprof.sh,v 1.1 2015/04/30 15:04:56 ryoon 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