mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #349 from vpeter4/sundtek
sundtek-mediatv: fixed unpack script
This commit is contained in:
commit
e0d0068346
3
packages/3rdparty/driver/sundtek/unpack
vendored
3
packages/3rdparty/driver/sundtek/unpack
vendored
@ -27,7 +27,8 @@ mkdir -p $BUILD/${PKG_NAME}_${PKG_VERSION}
|
||||
(
|
||||
cd $BUILD/${PKG_NAME}_${PKG_VERSION}
|
||||
|
||||
if [ ${SOURCES:0:1} = "/" ]; then
|
||||
CHAR=`echo $SOURCES | awk '{ch=substr($0, 0, 1); printf("%c", ch); }'`
|
||||
if [ ${CHAR} = "/" ]; then
|
||||
SRC_INSTALLER_ROOT=""
|
||||
else
|
||||
SRC_INSTALLER_ROOT="$ROOT/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user