X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=lib%2Fredact%2Fapp.rb;h=5a229100b1a3b9f8d22919851c1dcf5c9fdbb37b;hb=dc00882e6139ccbee72bad4f96cabe950ba0c338;hp=9e892db7bb3f0ff4302c82dec63d62d316afb72f;hpb=bf303d7901b8d8105571f66c1fa4fb7f0907bed4;p=redact.git diff --git a/lib/redact/app.rb b/lib/redact/app.rb index 9e892db..5a22910 100644 --- a/lib/redact/app.rb +++ b/lib/redact/app.rb @@ -1,5 +1,5 @@ #-- -# $Id: app.rb 48 2005-06-08 21:38:34Z tilman $ +# $Id: app.rb 57 2005-06-14 15:11:35Z tilman $ # # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # @@ -55,7 +55,7 @@ module Redact exit end - OPTIONS.output ||= @options.input.sub(/.[^.]+$/, ".edj") + OPTIONS.output ||= OPTIONS.input.sub(/.[^.]+$/, ".edj") end def run