|
|
@@ -152,7 +152,7 @@ sub conditional ($$) {
|
|
|
|
|
|
my($RPM,$RPM_PRIV,$RPM_NPRIV,$CURL,$PROG);
|
|
|
|
|
|
-$RPM = $opt_R || $env{''}->{opt}->{'R'} || '@l_prefix@/bin/rpm';
|
|
|
+$RPM = $opt_R || $env{''}->{'R'} || '@l_prefix@/bin/rpm';
|
|
|
$RPM = (`which $RPM` =~ m{^(/.*)})[0];
|
|
|
die "FATAL: cannot locate rpm in path\n" unless $RPM =~ m{^/};
|
|
|
|