You'll get ```//usr/share/YaST2/``` here. I would use ```Pathname``` here: 
```ruby
DESTDIR = Pathname.new(ENV['DESTDIR'] || '/')
YAST_DIR = DESTDIR.join '/usr/share/YaST2'
```