diff options
author | Olivier Blin <dev@blino.org> | 2016-01-19 01:16:38 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2016-01-19 01:16:38 +0100 |
commit | 84a60ba01cd093704b0125c3078924e14ccfd671 (patch) | |
tree | 0f10907edde0b90962b99087487f1a440f162831 /tools/install-xml-file-list | |
parent | 1d67c58f104b1057a0718db927bb7a641316edea (diff) | |
download | drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.gz drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.bz2 drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.xz drakx-84a60ba01cd093704b0125c3078924e14ccfd671.zip |
Use arm instead of full arm version as arch when installing files from xml list
Instead of armv7l as detected from uname -m.
Perl files are installed in /usr/lib/perl5/<version>/arm-linux-thread-multi
Diffstat (limited to 'tools/install-xml-file-list')
-rwxr-xr-x | tools/install-xml-file-list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index 7bd0588fe..b5413a1ab 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -23,6 +23,7 @@ if ($>) { my $initial_dir = cwd(); my $ARCH = arch() =~ /i.86/ ? 'i386' : arch(); +$ARCH =~ s/^(arm).*/$1/; my $LIB = arch() =~ /x86_64/ ? "lib64" : "lib"; my $base_cpio_options = '-pumd --quiet'; |