X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=lib%2Fredact%2Fapp.rb;h=1d51bf74ae531f534c546f3ca250de5911290515;hb=e0e880a9a7503d2df9a2413d5e7440b8a8cc4f1f;hp=9e892db7bb3f0ff4302c82dec63d62d316afb72f;hpb=bf303d7901b8d8105571f66c1fa4fb7f0907bed4;p=redact.git diff --git a/lib/redact/app.rb b/lib/redact/app.rb index 9e892db..1d51bf7 100644 --- a/lib/redact/app.rb +++ b/lib/redact/app.rb @@ -1,6 +1,4 @@ #-- -# $Id: app.rb 48 2005-06-08 21:38:34Z tilman $ -# # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # # Permission is hereby granted, free of charge, to any person obtaining @@ -55,7 +53,7 @@ module Redact exit end - OPTIONS.output ||= @options.input.sub(/.[^.]+$/, ".edj") + OPTIONS.output ||= OPTIONS.input.sub(/.[^.]+$/, ".edj") end def run