mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
ChangeDir now returns the correct value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29361 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -305,8 +305,9 @@ sub ChangeDir { # directory, logical name
|
|||||||
$result = chdir($dir);
|
$result = chdir($dir);
|
||||||
if(!$result){
|
if(!$result){
|
||||||
print "ERROR!!! Cannot change directory to: $name ($dir) because $!";
|
print "ERROR!!! Cannot change directory to: $name ($dir) because $!";
|
||||||
return -1;
|
return false;
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Reference in New Issue
Block a user