From c37170f9a0d8ae7fc8d15a2e27f74224aceee764 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 02 Jun 2013 11:48:13 -0400 Subject: build: Fix condition for native ar symbolic link. --- diff --git a/build b/build index bcdc56e..19d749f 100755 --- a/build +++ b/build @@ -113,7 +113,7 @@ install: build for target in $$(cat ../targets); do \ if [ '$(OPK_HOST_ARCH)' = "$${target}" ]; then \ for util in "binutils-$${target}.data/usr/bin/$${target}-"*; do \ - if [ "$${util}" = 'ar' ]; then \ + if [ "$${util##*/$${target}-}" = 'ar' ]; then \ dest='ar.binutils'; \ else \ dest="$${util##*/$${target}-}"; \ -- cgit v0.9.1