mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
support/script/scancpan: don't generate the trailing slash in <PKG>_SITE variable
The trailing slash was removed in all packages, so don't generate it. See http://git.buildroot.net/buildroot/commit/?id=c7f4b964718bc5a3329bb730f59e24091ecbc7a2 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
fa7e146c9c
commit
56e7d0b886
@ -636,6 +636,7 @@ while (my ($distname, $dist) = each %dist) {
|
|||||||
# the scheme is not used, because the job is done by the BR download infrastructure
|
# the scheme is not used, because the job is done by the BR download infrastructure
|
||||||
# the auth part is not used, because we use $(BR2_CPAN_MIRROR)
|
# the auth part is not used, because we use $(BR2_CPAN_MIRROR)
|
||||||
my($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} );
|
my($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} );
|
||||||
|
$directories =~ s|/$||;
|
||||||
my $dependencies = join q{ }, qw( = perl ),
|
my $dependencies = join q{ }, qw( = perl ),
|
||||||
map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} ),
|
map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} ),
|
||||||
map( { fsname( $_ ); } sort @{$deps_runtime{$distname}} );
|
map( { fsname( $_ ); } sort @{$deps_runtime{$distname}} );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user