mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
libusbmuxd: remove sed errors
This commit is contained in:
parent
acfa3b1c3c
commit
19b0de7dc0
@ -18,7 +18,9 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
|||||||
|
|
||||||
configure_package() {
|
configure_package() {
|
||||||
# if using a git hash as a package version - set RELEASE_VERSION
|
# if using a git hash as a package version - set RELEASE_VERSION
|
||||||
export RELEASE_VERSION="$(sed -n '1,/RE/s/Version \(.*\)/\1/p' ${PKG_BUILD}/NEWS)-git-${PKG_VERSION:0:7}"
|
if [ -f ${PKG_BUILD}/NEWS ]; then
|
||||||
|
export RELEASE_VERSION="$(sed -n '1,/RE/s/Version \(.*\)/\1/p' ${PKG_BUILD}/NEWS)-git-${PKG_VERSION:0:7}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_configure_target() {
|
post_configure_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user