lib/rex/zip/samples/comment.rb in librex-0.0.68 vs lib/rex/zip/samples/comment.rb in librex-0.0.70
- old
+ new
@@ -1,14 +1,13 @@
-#!/usr/bin/env ruby
# -*- coding: binary -*-
#
# Create a zip file with comments!
#
msfbase = __FILE__
while File.symlink?(msfbase)
- msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
+ msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
end
inc = File.dirname(msfbase) + '/../../..'
$:.unshift(inc)
require 'rex/zip'