symlinking as standard rather tham hardlinking, otherwise ±L does nothing special

This commit is contained in:
Mattias Andrée 2012-08-27 01:47:58 +02:00
parent f0fcdd7903
commit 6431e38e4d
2 changed files with 6 additions and 3 deletions

View file

@ -126,13 +126,13 @@ class Setup():
opts.add_argumented (help = 'Set off environment for installation\nEmpty by default', alternatives = ['--dest-dir'], arg='DESTDIR')
opts.add_argumented (help = 'Set how to link identical files\nDefault = hard, copy and symbolic are also recognised', alternatives = ['--linking'], arg='TYPE')
opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised', alternatives = ['--linking'], arg='TYPE')
opts.parse()
self.linking = HARD
self.linking = SYMBOLIC
if opts.opts['--linking'] is not None:
self.linking = opts.opts['--linking'][0]