Explorar o código

* fix for doubled slashes in paths by Giulio Bernardi

git-svn-id: trunk@10796 -
Tomas Hajny %!s(int64=17) %!d(string=hai) anos
pai
achega
e64c9a152a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/options.pas

+ 2 - 2
compiler/options.pas

@@ -2401,8 +2401,8 @@ begin
   if fpcdir='' then
     begin
       fpcdir:=ExePath+'../';
-      if not(PathExists(fpcdir+'/units',true)) and
-         not(PathExists(fpcdir+'/rtl',true)) then
+      if not(PathExists(fpcdir+'units',true)) and
+         not(PathExists(fpcdir+'rtl',true)) then
         fpcdir:=fpcdir+'../';
     end;
 {$endif unix}