Merge pull request #8833 from vpeter4/usbmuxd-sed

usbmuxd: remove sed errors
This commit is contained in:
CvH 2024-05-07 17:49:33 +02:00 committed by GitHub
commit cdf5961995
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,9 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
configure_package() {
# 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() {

View File

@ -26,7 +26,9 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
configure_package() {
# 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() {