aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-30 14:07:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-30 14:07:53 +0000
commit6046e9e9e682d552511cca266f6f2f2e84a91e5f (patch)
tree1944d9ec6cf9891ee27ccd9ee57f75f5282d626c
parente482e21f6255ea558fe6bf7aae62f45e973b0c3c (diff)
downloadrpmtools-6046e9e9e682d552511cca266f6f2f2e84a91e5f.tar
rpmtools-6046e9e9e682d552511cca266f6f2f2e84a91e5f.tar.gz
rpmtools-6046e9e9e682d552511cca266f6f2f2e84a91e5f.tar.bz2
rpmtools-6046e9e9e682d552511cca266f6f2f2e84a91e5f.tar.xz
rpmtools-6046e9e9e682d552511cca266f6f2f2e84a91e5f.zip
Well, if tempdir doesn't exist, that's okay too
-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);