From b919b35c6b7226948752e1019b50940b8be201f9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 14 Feb 2014 11:15:27 +0100 Subject: [PATCH] chroot-file: hardcode path to host file(1) in cross builds, rather than using PATH. --- srcpkgs/chroot-file/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/chroot-file/template b/srcpkgs/chroot-file/template index 713949028a..f835de4567 100644 --- a/srcpkgs/chroot-file/template +++ b/srcpkgs/chroot-file/template @@ -33,7 +33,7 @@ pre_configure() { pre_build() { if [ "$CROSS_BUILD" ]; then - export PATH=${wrksrc}/host-build:$PATH + sed "s,file --version,${wrksrc}/host-build/file --version,g" -i magic/Makefile fi }