diff --git a/conky-mythtv-weather-build.plx b/conky-mythtv-weather-build.plx index 2aeb7fa..7f093a1 100755 --- a/conky-mythtv-weather-build.plx +++ b/conky-mythtv-weather-build.plx @@ -27,6 +27,12 @@ use utf8; use feature 'unicode_strings'; use Encode qw(encode decode); +use File::Temp qw/tempdir/; + + +chdir("$ENV{HOME}/tmp/.conky-mythtv-weather") + or die "unable to go to $ENV{HOME}/tmp/.conky-mythtv-weather"; + if (@ARGV != 6 and @ARGV != 7) { print STDERR "usage: $0 /path/to/mythtv/git/checkout [hour-format]\n"; exit 1;