16 lines
475 B
Plaintext
16 lines
475 B
Plaintext
$NetBSD: patch-bin_cmakehdf5,v 1.1 2015/11/26 11:25:10 adam Exp $
|
|
|
|
Portability fix.
|
|
|
|
--- bin/cmakehdf5.orig 2015-11-26 11:09:09.000000000 +0000
|
|
+++ bin/cmakehdf5
|
|
@@ -30,7 +30,7 @@ exit_code=0
|
|
# and should have invoked as "$srcdir/bin/$progname" or
|
|
# "bin/$progname". So, by striping bin/$program from $0,
|
|
# we can find $srcdir.
|
|
-if [ $0 == bin/$progname ]; then
|
|
+if [ $0 = bin/$progname ]; then
|
|
srcdir="." # current directory
|
|
else
|
|
# $0 is $srdir/bin/$progname
|