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 }