remove extra slash in install path
This commit is contained in:
parent
c3ec263c28
commit
85a1888161
4
PKGBUILD
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user