]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
1.10.0
[mothur.git] / mothur.h
index f101d1f808fdb22d0fac7795dcc6388be6dacaf2..ca19aea53139b11da68420de6dc28c239990d626 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -487,7 +487,7 @@ inline string getFullPathName(string fileName){
                        }       
                #else
                        if (path.find("~") != -1) { //go to home directory
-                               string homeDir = getenv ("HOME");
+                               string homeDir = getenv ("HOMEPATH");
                                newFileName = homeDir + fileName.substr(fileName.find("~")+1);
                                return newFileName;
                        }else { //find path