tags 436095 + patch
thanks
Hi,
On Sun, 2007-08-05 at 13:39 +0200, Kurt Roeckx wrote:
> It seems that when using bts it changed my current working dir to
> ~/.devscripts_cache/bts/ which is rather annoying if I want to save
> something. I expect it to save it to the current working dir
> and then don't find it.
Although bts does change its working directory to the cache folder
whilst retrieving files, it is intended to revert that change before
launching the browser or MUA.
Unfortunately, at some point one of the reversions has ended up
immediately preceeded by a return() and therefore been skipped. The
attached trivial patch should fix that. Could you please apply it and
see if that resolves the issue for you?
Thanks,
Adam
--- scripts/bts.pl 2007-08-30 19:16:34.000000000 +0100
+++ bts.pl 2007-08-30 19:16:30.000000000 +0100
@@ -2286,8 +2286,8 @@
# do nothing
}
- return $livepage;
chdir $oldcwd or die "bts: chdir $oldcwd failed: $!\n";
+ return $livepage;
} else {
die "bts: couldn't download $url:\n$msg\n";
}