From 6046e9e9e682d552511cca266f6f2f2e84a91e5f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 30 Sep 2005 14:07:53 +0000 Subject: Well, if tempdir doesn't exist, that's okay too --- genhdlist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genhdlist') diff --git a/genhdlist b/genhdlist index 61ed645..06c2739 100644 --- a/genhdlist +++ b/genhdlist @@ -56,7 +56,7 @@ grep { m!^/! } @dir and die "Directories to parse should be relative\n"; $dest and do { chdir $dest or die "Can't chdir in directory $dest\n" }; --o $tmpdir or +!-e $tmpdir or -o _ or die "$tmpdir is not owned by you, bailing out\n"; rmtree($tmpdir) unless $noclean; mkpath($tmpdir); -- cgit v1.2.1