* Major typo fix in Tgz.pm.

* Fixed newlines in tgz filelist.
   * Fixed some undefined value warnings.
This commit is contained in:
joey
2000-04-22 23:32:45 +00:00
parent 84a8367902
commit 23baf2bcf4
6 changed files with 20 additions and 7 deletions

View File

@@ -332,8 +332,7 @@ sub build {
$opts="--target noarch" if $rpmarch eq 'noarch';
}
$opts.=" $ENV{RPMBUILDOPTS}" if exists $ENV{RPMBUILDOPTS};
$opts.=" $ENV{RPMBUILDOPTS}" if exists $ENV{RPMBUILDOPTS};
system("cd $dir; rpm $opts -bb ".$this->name."-".$this->version."-".$this->release.".spec >/dev/null") &&
die "package build failed";