mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 15:29:11 +02:00
* fixed default unit location for linux when fpcdir was not set
This commit is contained in:
parent
208c1404d3
commit
4d0c25c096
@ -1372,9 +1372,9 @@ begin
|
|||||||
if fpcdir='' then
|
if fpcdir='' then
|
||||||
begin
|
begin
|
||||||
if PathExists('/usr/local/lib/fpc/'+version_string) then
|
if PathExists('/usr/local/lib/fpc/'+version_string) then
|
||||||
fpcdir:='/usr/local/lib/fpc/'+version_string
|
fpcdir:='/usr/local/lib/fpc/'+version_string+'/'
|
||||||
else
|
else
|
||||||
fpcdir:='/usr/lib/fpc/'+version_string;
|
fpcdir:='/usr/lib/fpc/'+version_string+'/';
|
||||||
end;
|
end;
|
||||||
{$else}
|
{$else}
|
||||||
fpcdir:=FixPath(getenv('FPCDIR'),false);
|
fpcdir:=FixPath(getenv('FPCDIR'),false);
|
||||||
@ -1427,7 +1427,10 @@ end;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.55 2000-01-23 18:20:50 sg
|
Revision 1.56 2000-01-31 15:55:42 peter
|
||||||
|
* fixed default unit location for linux when fpcdir was not set
|
||||||
|
|
||||||
|
Revision 1.55 2000/01/23 18:20:50 sg
|
||||||
* Fixed typo in line 1375 ("fpidr" instead of "fpcdir")
|
* Fixed typo in line 1375 ("fpidr" instead of "fpcdir")
|
||||||
|
|
||||||
Revision 1.54 2000/01/23 16:36:37 peter
|
Revision 1.54 2000/01/23 16:36:37 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user