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] [27/50] Commit 29fe0e8: expand path
Date Fri, 22 Jan 2016 02:40:55 GMT
Commit 29fe0e840c831988e5f25aed2a11fe458b7e84e2:
    expand path


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

------------------------------------------------------------
main.rb                                                      | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------


diff --git a/main.rb b/main.rb
index 4521284..7318c1e 100755
--- a/main.rb
+++ b/main.rb
@@ -15,8 +15,8 @@
 require 'yaml'
 
 if ENV['RACK_ENV'] == 'test'
-  FOUNDATION_BOARD = 'test/work/board'
-  MINUTES_WORK = 'test/work/data'
+  FOUNDATION_BOARD = File.expand_path('test/work/board').untaint
+  MINUTES_WORK = File.expand_path('test/work/data').untaint
 else
   FOUNDATION_BOARD = ASF::SVN['private/foundation/board']
   MINUTES_WORK = '/var/tools/data'

Mime
View raw message