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 f88f9ea  don't include tmpdir in symlink
f88f9ea is described below

commit f88f9eab894ab16c71f8e5781096218837741e80
Author: Sam Ruby <[email protected]>
AuthorDate: Sat Oct 21 07:41:04 2017 -0400

    don't include tmpdir in symlink
---
 www/board/agenda/routes.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 7647d4f..a4c066c 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -417,7 +417,7 @@ post %r{/(\d\d\d\d-\d\d-\d\d)/} do |date|
 
     `svn update #{dir}/current.txt #{auth}`
     File.unlink "#{dir}/current.txt"
-    File.symlink "#{dir}/#{agenda}", "#{dir}/current.txt"
+    File.symlink agenda, "#{dir}/current.txt"
 
     files = ["#{dir}/#{agenda}", "#{dir}/current.txt"]
     `svn commit #{files.join(' ')} --message "Post #{date} agenda" #{auth}`

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to