diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-17 11:26:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-17 11:26:42 +0000 |
commit | e2fc6313328e5c89eb5329711ee24f90d55e899c (patch) | |
tree | d9f7a60349a695e33c059e7ac448c07ec7c7a239 /gendistrib | |
parent | dd0e093481b9dad3d807827aff2875278beb06c7 (diff) | |
download | rpmtools-e2fc6313328e5c89eb5329711ee24f90d55e899c.tar rpmtools-e2fc6313328e5c89eb5329711ee24f90d55e899c.tar.gz rpmtools-e2fc6313328e5c89eb5329711ee24f90d55e899c.tar.bz2 rpmtools-e2fc6313328e5c89eb5329711ee24f90d55e899c.tar.xz rpmtools-e2fc6313328e5c89eb5329711ee24f90d55e899c.zip |
Spelling fixes in usage
Diffstat (limited to 'gendistrib')
-rwxr-xr-x | gendistrib | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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(); |