mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
ChangeDir now returns the correct value
llvm-svn: 29361
This commit is contained in:
parent
f77eeceeba
commit
bf01a5d7a7
@ -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;
|
||||
}
|
||||
|
||||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user