From e2fc6313328e5c89eb5329711ee24f90d55e899c Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 17 Feb 2005 11:26:42 +0000 Subject: Spelling fixes in usage --- gendistrib | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gendistrib b/gendistrib index 3f7d43f..b1d9b64 100755 --- a/gendistrib +++ b/gendistrib @@ -40,8 +40,8 @@ Options: (default media/media_info/depslist.ordered) --hdlists file path of hdlists file (default media/media_info/hdlists) --headersdir dir put temporary files in this dir (default \$TMPDIR) - --nobadrpm do not stop on bad rpm - --nochkdep do not find missing dependancies + --nobadrpm don't stop on bad rpms + --nochkdep don't search for missing dependencies --noclean keep cache files --provides file path of provides file (default media/media_info/provides) --nomediainfo don't create per-media media_info subdirectories @@ -113,7 +113,11 @@ foreach (<$fh>) { close $fh; sub clean_cache { - system($ENV{LD_LOADER} ? $ENV{LD_LOADER} : @{[]}, "rm", "-rf", $headers_dir) unless $noclean; + unless ($noclean) { + system($ENV{LD_LOADER} ? $ENV{LD_LOADER} : @{[]}, "rm", "-rf", $headers_dir); + mkdir $headers_dir + or print STDERR qq(Can't create directory "$headers_dir": $!\n); + } } clean_cache(); -- cgit v1.2.1