diff options
Diffstat (limited to 'scripts/context/ruby/base/kpse.rb')
-rw-r--r-- | scripts/context/ruby/base/kpse.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/context/ruby/base/kpse.rb b/scripts/context/ruby/base/kpse.rb index bfd2baa30..3c3cc21df 100644 --- a/scripts/context/ruby/base/kpse.rb +++ b/scripts/context/ruby/base/kpse.rb @@ -198,6 +198,8 @@ module Kpse end end end + # needed ! + begin File.makedirs(formatpath) ; rescue ; end ; # fall back to current path formatpath = '.' if formatpath.empty? || ! FileTest.writable?(formatpath) # append engine but prevent duplicates |