[gobolinux-users] [ANNOUNCE] Freshen 1.99 (a.k.a 2.0a)

David Smith dsmith at algonet.se
Tue Nov 16 20:02:16 GMT 2004


Rafael wrote:
> David Smith wrote:
> 
>> I get some error with RealPath. Are there any special dependencies?
>>
>> gobo at NewMachine ~]Freshen
>> /System/Links/Executables/Freshen:15: command not found: RealPath
> 
> 
> RealPath does not exist anymore. Use `readlink -f` instead.
> 
> Just make sure it is the CoreUtils one instead of the broken TeTeX one.
> 

Thanks, it seems it was a Compile problem. This patch aginst Compile
1.2.0 solved it. (Since it worked for others, I'm guessing it has
already been fixed in a snapshot somwhere, though.)

--- lib/ruby/site_ruby/1.8/gobo.rb.org  2004-11-16 19:44:16.000000000 +0000
+++ lib/ruby/site_ruby/1.8/gobo.rb      2004-11-16 19:35:10.000000000 +0000
@@ -23,7 +23,7 @@
  module Gobo
    DEFAULT_ARCH = "i686"
    def Gobo.RealPath (symLink)
-    return `RealPath #{symLink}`.chomp!
+    return `readlink -f #{symLink}`.chomp!
    end

    def Gobo.goodLink?(symlink)

-- 
david


More information about the Gobolinux-users mailing list