summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Colin2020-07-18 11:47:02 -0400
committerAlexei Colin2020-07-18 11:47:02 -0400
commit85a188816181293dc851e5a1259e2cdb8e35572d (patch)
tree41e400093997a5076e82ce7d8a80036a9519b654
parentc3ec263c28438bc1d96ff8547c82280464e8f181 (diff)
downloadaur-85a188816181293dc851e5a1259e2cdb8e35572d.tar.gz
remove extra slash in install path
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b14909f5f49..e359ca1a1b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ source=("https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${pkgve
options=(!strip)
install=$pkgname.install
-_installdir=/opt/zephyr-sdk
+_installdir=opt/zephyr-sdk
_setupsh=setup.sh
build() {
@@ -115,7 +115,7 @@ package ()
echo ">>>"
# Strip package build path from prefix path
- sed -i "s@\(relocate_sdk.py\s\+\)${pkgdir}${_installdir} ${pkgdir}${_installdir}@\1 ${_installdir} ${_installdir}@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