diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmakehdf5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmakehdf5 b/bin/cmakehdf5 index ccef469..7f6453a 100755 --- a/bin/cmakehdf5 +++ b/bin/cmakehdf5 @@ -29,7 +29,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 |