aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--genhdlist2
1 files changed, 1 insertions, 1 deletions
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);