ChangeDir now returns the correct value

llvm-svn: 29361
This commit is contained in:
Patrick Jenkins 2006-07-27 20:21:26 +00:00
parent f77eeceeba
commit bf01a5d7a7

View File

@ -305,8 +305,9 @@ sub ChangeDir { # directory, logical name
$result = chdir($dir);
if(!$result){
print "ERROR!!! Cannot change directory to: $name ($dir) because $!";
return -1;
return false;
}
return true;
}
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~