mirror of
https://github.com/minio/minio
synced 2024-11-05 17:34:01 +00:00
Fix path comparing in checkgopath (#3215)
This commit is contained in:
parent
d44e9d6da9
commit
daf6f3a5c0
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ main() {
|
||||||
for path in "${paths[@]}"; do
|
for path in "${paths[@]}"; do
|
||||||
minio_path="$path/src/github.com/minio/minio"
|
minio_path="$path/src/github.com/minio/minio"
|
||||||
if [ -d "$minio_path" ]; then
|
if [ -d "$minio_path" ]; then
|
||||||
if [ "$minio_path" == "$PWD" ]; then
|
if [ "$minio_path" -ef "$PWD" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue