diff --git a/htrace-core/src/go/gobuild.sh b/htrace-core/src/go/gobuild.sh index cf56dcf..c0b2268 100755 --- a/htrace-core/src/go/gobuild.sh +++ b/htrace-core/src/go/gobuild.sh @@ -71,7 +71,7 @@ else which ldconfig &> /dev/null [ $? -eq 0 ] && ldconfig=ldconfig fi -if [ -v ldconfig ]; then +if [ -n "${ldconfig}" ]; then if "${ldconfig}" -p | grep -q libleveldb; then : else