Don't use working directory when --output-directory option is used
authorMichael Prokop <mika@grml.org>
Thu, 19 Nov 2015 14:47:07 +0000 (15:47 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 19 Nov 2015 14:48:48 +0000 (15:48 +0100)
commit5afa0d80a53a44fdb30a3e2ba43fb4df02ab7632
treec73099d10afc2083be86f69098938bc6ac3df1d2
parentc5989b9ae42a5cf640f17e354be37f40088f267c
Don't use working directory when --output-directory option is used

Otherwise when running something like:

  /root/system-info/grml-hwinfo --output-directory=/root/system-info/grml-hwinfo-data

via cron this store data to /root/root/system-info/grml-hwinfo-data
(instead of the requested /root/system-info/grml-hwinfo-data) since
/root is the working directory for cron.
grml-hwinfo