Fix path comparing in checkgopath (#3215)

This commit is contained in:
Anis Elleuch 2016-11-09 19:09:42 +01:00 committed by Harshavardhana
parent d44e9d6da9
commit daf6f3a5c0

View File

@ -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