diff --git a/buildscripts/checkgopath.sh b/buildscripts/checkgopath.sh index 94b0c7204..3328310b3 100644 --- a/buildscripts/checkgopath.sh +++ b/buildscripts/checkgopath.sh @@ -22,7 +22,7 @@ main() { for path in "${paths[@]}"; do minio_path="$path/src/github.com/minio/minio" if [ -d "$minio_path" ]; then - if [ "$minio_path" == "$PWD" ]; then + if [ "$minio_path" -ef "$PWD" ]; then exit 0 fi fi