Sha256: 3da3d289ca7833422a794d3e0cf9792ff893f93c01bb74b48c10fcdb9ee375f6

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

require 'fileutils'

dir = File.expand_path(File.dirname(File.dirname(__FILE__)))

$froot = File.join(dir, 'fixtures/fakeroot/')

#
ENV['HOME']            = $froot + 'home/joe'
#ENV['XDG_DATA_HOME']   = $froot + '.local/share'
ENV['XDG_DATA_DIRS']   = $froot + 'usr/share'
#ENV['XDG_CONFIG_HOME'] = $froot + '.config'
ENV['XDG_CONFIG_DIRS'] = $froot + 'etc/xdg' + ':' + $froot + 'etc'
#ENV['XDG_CACHE_HOME']  = $froot + '.cache'
ENV['XDG_CACHE_DIRS']  = $froot + 'tmp'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xdg-2.0.0 qed/applique/fakeroot.rb