mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Fix path comparing in checkgopath (#3215)
This commit is contained in:
committed by
Harshavardhana
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
|
||||
|
||||
Reference in New Issue
Block a user