OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 02-Mar-2007 09:50:46
Branch: HEAD Handle: 2007030208504600
Modified files:
openpkg-tools/cmd build.pl
Log:
direct access relative path names (identified by leading "./")
Summary:
Revision Changes Path
1.44 +6 -4 openpkg-tools/cmd/build.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/build.pl
============================================================================
$ cvs diff -u -r1.43 -r1.44 build.pl
--- openpkg-tools/cmd/build.pl 2 Mar 2007 08:45:33 -0000 1.43
+++ openpkg-tools/cmd/build.pl 2 Mar 2007 08:50:46 -0000 1.44
@@ -2547,7 +2547,7 @@
" )";
} elsif (defined $_->{prefix}) {
$cmd1 = '';
- if ($spkg =~ m |^/|) {
+ if ($spkg =~ m |^.?/|) {
$uvhpkg = $spkg;
}
else {
@@ -2556,7 +2556,7 @@
}
} else {
$cmd1 = '';
- if ($spkg =~ m |^/|) {
+ if ($spkg =~ m |^.?/|) {
$cmd1 .= npriv($config->{"rpm"} . "$opt --rebuild $spkg
$err\n");
}
else {
@@ -2684,8 +2684,10 @@
=item B<-r> I<repository>
-Specify the path to an OpenPKG RPM package repository. This can be a URL
(including "file://")
-to download packages from or an absolute directory path to access packages
directly.
+Specify the path to an OpenPKG RPM package repository.
+This can be a URL (including "file://") to download packages from or
+an absolute directory path (identified by leading "/") or
+a relative directory path (identified by leading "./") to access packages
directly.
The name of the package file is appended to this path.
The default is to use a URL pointing to the B<OpenPKG> FTP server
as determined by the "B<openpkg release>" command.
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]