Browse Source

+ Now envvar is used

michael 26 years ago
parent
commit
f17c81bda2
1 changed files with 6 additions and 3 deletions
  1. 6 3
      utils/fpcmake.pp

+ 6 - 3
utils/fpcmake.pp

@@ -193,8 +193,8 @@ begin
   if FileExists('fpcmake.ini') then
   if FileExists('fpcmake.ini') then
    fn:='fpcmake.ini'
    fn:='fpcmake.ini'
   else
   else
-   if (FileExists(GetEnv('FPCMAKEINI'))) then
-    fn:=GetEnv('FPCMAKEINI')
+   if (FileExists(GetEnv(envvar))) then
+    fn:=GetEnv(envvar)
   else
   else
 {$ifdef linux}
 {$ifdef linux}
    if FileExists('/usr/lib/fpc/fpcmake.ini') then
    if FileExists('/usr/lib/fpc/fpcmake.ini') then
@@ -527,7 +527,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.2  1999-11-03 23:39:53  peter
+  Revision 1.3  1999-11-04 12:07:13  michael
+  + Now envvar is used
+
+  Revision 1.2  1999/11/03 23:39:53  peter
     * lot of updates
     * lot of updates
 
 
   Revision 1.1  1999/11/02 23:57:40  peter
   Revision 1.1  1999/11/02 23:57:40  peter