Explorar el Código

fix R option in rc-file

Michael van Elst hace 23 años
padre
commit
7d6b1e7221
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      openpkg-tool/openpkg-build.pl
  2. 2 2
      openpkg-tool/openpkg-tool.spec

+ 1 - 1
openpkg-tool/openpkg-build.pl

@@ -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{^/};
 

+ 2 - 2
openpkg-tool/openpkg-tool.spec

@@ -32,8 +32,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [PLUS]
 Group:        Bootstrapping
 License:      GPL
-Version:      20030115
-Release:      20030115
+Version:      20030116
+Release:      20030116
 
 #   list of sources
 Source0:      openpkg.sh