aboutsummaryrefslogtreecommitdiffstats
path: root/genhdlist2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-22 09:40:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-22 09:40:52 +0000
commitbd7672d5af0bf39f1120d1a13bdc58ab89140e7c (patch)
treedee68202d9761b5df92330e4305e70e745fe77ac /genhdlist2
parent80ec7792a5fab15df155f9f78ac42aa6508578cd (diff)
downloadrpmtools-bd7672d5af0bf39f1120d1a13bdc58ab89140e7c.tar
rpmtools-bd7672d5af0bf39f1120d1a13bdc58ab89140e7c.tar.gz
rpmtools-bd7672d5af0bf39f1120d1a13bdc58ab89140e7c.tar.bz2
rpmtools-bd7672d5af0bf39f1120d1a13bdc58ab89140e7c.tar.xz
rpmtools-bd7672d5af0bf39f1120d1a13bdc58ab89140e7c.zip
suggest --allow-empty-media
Diffstat (limited to 'genhdlist2')
-rw-r--r--genhdlist22
1 files changed, 1 insertions, 1 deletions
diff --git a/genhdlist2 b/genhdlist2
index 6559bbb..41f08e3 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -46,7 +46,7 @@ sub do_it {
$no_bad_rpm = $options{no_bad_rpm};
my @rpms = grep { /\.rpm$/ } all($rpms_dir);
- @rpms || $options{allow_empty_media} or die "no *.rpm found in $rpms_dir\n";
+ @rpms || $options{allow_empty_media} or die "no *.rpm found in $rpms_dir (use --allow-empty-media?)\n";
my $media_info_dir = "$rpms_dir/media_info";
-e $media_info_dir || mkdir $media_info_dir or die "Can't mkdir $media_info_dir: $!n";