mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
buildsystem: eliminate unecessary sed usage
This commit is contained in:
parent
60f117a793
commit
cf71811eec
@ -6,7 +6,7 @@
|
|||||||
# determine architecture's family
|
# determine architecture's family
|
||||||
TARGET_SUBARCH=x86_64
|
TARGET_SUBARCH=x86_64
|
||||||
|
|
||||||
TARGET_GCC_ARCH=$(echo $TARGET_SUBARCH | sed -e "s,-,,")
|
TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
|
||||||
TARGET_KERNEL_ARCH=x86
|
TARGET_KERNEL_ARCH=x86
|
||||||
|
|
||||||
# setup ARCH specific *FLAGS
|
# setup ARCH specific *FLAGS
|
||||||
|
@ -118,7 +118,7 @@ unset LD_LIBRARY_PATH
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
||||||
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
|
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="${PKG_SECTION//\//.}.$PKG_NAME"
|
||||||
PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)"
|
PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user