• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Révision7353c183ca018cacf980a191bf188549a290fbef (tree)
l'heure2015-01-20 22:39:05
AuteurDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Message de Log

Getting an absolute location of this file was wrong if it was a synbolic link. This issue has been addressed.

Change Summary

Modification

--- a/mk_rate
+++ b/mk_rate
@@ -107,7 +107,8 @@
107107 # * (Rated) players, who played more than $GAMES_LIMIT [15] (rated) games.
108108 #
109109
110-$:.unshift(File.dirname(File.expand_path(__FILE__)))
110+require 'pathname'
111+$:.unshift(File.dirname(Pathname.new(__FILE__).realpath))
111112 require 'utils/csa-filter'
112113 require 'yaml'
113114 require 'time'