diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-06-27 10:40:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-06-27 10:40:21 +0000 |
commit | 3f6bbd28589147b53d0ede0e4102deebf311614a (patch) | |
tree | d9eee57c08d4b5071af6dc4031a2d353ebdbeed0 /package/network | |
parent | b4696a8be59e3003d7421e6b4e27efce89b7f4eb (diff) | |
download | upstream-3f6bbd28589147b53d0ede0e4102deebf311614a.tar.gz upstream-3f6bbd28589147b53d0ede0e4102deebf311614a.tar.bz2 upstream-3f6bbd28589147b53d0ede0e4102deebf311614a.zip |
toolchain: only take last found libgcc* file
The current $(wildcard ...) match might return multiple files which will break subsequent cp commands
with an error like:
cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory
Prevent this issue by only taking the last path returned by globbing.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41357 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions