whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [17/50] Commit a13d446: Unconfuse svn when symbolic links are used
Date Fri, 04 Dec 2015 19:20:05 GMT
Commit a13d4467d3769f0961df91ec0e8df40cf5e518fb:
    Unconfuse svn when symbolic links are used
    git-svn-id: https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy@819537
90ea9780-b833-de11-8433-001ec94261de


Branch: refs/heads/master
Author: Sam Ruby <rubys@apache.org>
Committer: Sam Ruby <rubys@apache.org>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/secretary/workbench/local_paths.rb                       | ++ -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/secretary/workbench/local_paths.rb b/www/secretary/workbench/local_paths.rb
index d9cf1e3..3cbe131 100644
--- a/www/secretary/workbench/local_paths.rb
+++ b/www/secretary/workbench/local_paths.rb
@@ -13,7 +13,8 @@
 # set constants based on the configuration file
 require 'yaml'
 YAML.load(open(config).read).each do |key, value|
-  Object.const_set key.upcase, File.expand_path(value).untaint
+  Object.const_set key.upcase,
+    File.realpath(File.expand_path(value).untaint).untaint
 end
 
 # pending file

Mime
View raw message