mirror of https://github.com/minio/minio.git
Fix path comparing in checkgopath (#3215)
This commit is contained in:
parent
d44e9d6da9
commit
daf6f3a5c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue