Simple disk space checker
Révision | ec7fd3046ff636812648eaa20fdc9631540ef369 (tree) |
---|---|
l'heure | 2014-10-09 23:49:00 |
Auteur | Tatsuki Sugiura <sugi@nemu...> |
Commiter | Tatsuki Sugiura |
Allow to exec ruby gems execute wrapper.
@@ -220,7 +220,7 @@ class DiskSpaceCheker < Hash | ||
220 | 220 | end |
221 | 221 | |
222 | 222 | |
223 | -if __FILE__ == $0 | |
223 | +if File.basename(__FILE__) == File.basename($0) | |
224 | 224 | |
225 | 225 | $echo_level = 3 |
226 | 226 |