summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Colin2019-06-29 18:32:35 -0400
committerAlexei Colin2019-06-29 18:32:35 -0400
commitaf17afe9181fd74bd9290749e537aff7634322dc (patch)
treebdbc5894259b5c108c3c85dcbd2a499596c5b46e
parent7ad0945e7e88f480aa75fb5146078b4a23f4ddff (diff)
downloadaur-af17afe9181fd74bd9290749e537aff7634322dc.tar.gz
pkg: relocation: also replace loader path
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef9668f2302..d67cbb23753 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -103,7 +103,7 @@ package ()
./$_setupsh -d $pkgdir/$_installdir
# Strip package build path from prefix path
- sed -i "s@\(relocate_sdk.py\s\+\)$pkgdir@\1@g" relocate_sdk.sh
+ sed -i "s@\(relocate_sdk.py\s\+\)${pkgdir}${_installdir} ${pkgdir}${_installdir}@\1 ${_installdir} ${_installdir}@g" relocate_sdk.sh
./relocate_sdk.sh
rm zephyr-sdk-*-hosttools-standalone-*.sh