You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/12/13 02:46:14 UTC

[whimsy] branch master updated: attempt to fix the Travis error

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new d5aa0fa  attempt to fix the Travis error
d5aa0fa is described below

commit d5aa0fa64770837303dba87d296af37b8fc126f9
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Dec 12 21:46:03 2017 -0500

    attempt to fix the Travis error
---
 www/board/agenda/Rakefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index b22649a..174f436 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -1,5 +1,10 @@
 $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
 
+# Remove world writable directories that Travis may insert into the PATH,
+# as these cause security errors during testing
+ENV['PATH'] = ENV['PATH'].split(File::PATH_SEPARATOR).
+  reject {|path| File.world_writable? path}.join(File::PATH_SEPARATOR)
+
 require 'whimsy/asf/config'
 
 require 'rspec/core/rake_task'

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].