bin/vzlimit in vzlimit-0.0.2 vs bin/vzlimit in vzlimit-0.0.3
- old
+ new
@@ -1,10 +1,6 @@
#!/usr/bin/env ruby
-#
-# Created by Remo Fritzsche on 2010-1-30.
-# Copyright (c) 2010. All rights reserved.
-
-require 'rubygems'
-require File.expand_path(File.dirname(__FILE__) + "/../lib/vzlimit")
-require "vzlimit/cli"
-
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+require 'lib/vzlimit'
+require 'lib/vzlimit/cli'
Vzlimit::CLI.new(STDOUT, ARGV)
+