aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-08-29 10:51:53 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-08-30 09:01:32 +0200
commit56e7d0b886de1c6b2abe2da93f2bc19359a9316f (patch)
treee6443b936b346762603910c08feda3a07ff5ae40 /support
parentfa7e146c9c533ce02c52e95da9becdeed5f64900 (diff)
downloadbuildroot-56e7d0b886de1c6b2abe2da93f2bc19359a9316f.tar.gz
buildroot-56e7d0b886de1c6b2abe2da93f2bc19359a9316f.tar.bz2
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>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/scancpan1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index 50d9bab601..e738a8378f 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -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 auth part is not used, because we use $(BR2_CPAN_MIRROR)
my($filename, $directories, $suffix) = fileparse( $path, q{tar.gz}, q{tgz} );
+ $directories =~ s|/$||;
my $dependencies = join q{ }, qw( = perl ),
map( { q{host-} . fsname( $_ ); } sort @{$deps_build{$distname}} ),
map( { fsname( $_ ); } sort @{$deps_runtime{$distname}} );