summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 7c63af0..69e1e21 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -244,7 +244,7 @@ module Zorglub
#
def ext! ext
if ext.nil? or ext.empty?
- @options[:ext]||''
+ @options[:ext]=''
else
@options[:ext] = (ext[0]=='.' ? (ext.length==1 ? nil : ext) : '.'+ext)
end