Fix path comparing in checkgopath (#3215)

master
Anis Elleuch 8 years ago committed by Harshavardhana
parent d44e9d6da9
commit daf6f3a5c0
  1. 2
      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

Loading…
Cancel
Save