* Changed all invocations of programs to be in posix-complient form. Ie,

no options after args, so people who set POSIX_ME_HARDER can still use
     alien.
   * Bahave better if there is no /etc/mailname.
This commit is contained in:
joey
2000-05-22 23:23:32 +00:00
parent 141d85af7a
commit 71a8666dd8
3 changed files with 16 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ sub scan {
# Use --queryformat to pull out all the fields we need.
foreach my $field (keys(%fieldtrans)) {
$_=`LANG=C rpm -qp $file --queryformat \%{$field}`;
$_=`LANG=C rpm -qp --queryformat \%{$field} $file`;
$field=$fieldtrans{$field};
$_='' if $_ eq '(none)';
$this->$field($_);