From 1ee2e41e7fbdaea663f5e718cea74214cc3a6ec8 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 20 Sep 2017 11:55:42 +0200 Subject: [PATCH] makerepo: fix detecting base-commit for libnl 3.4.0-rc1 release When doing the release, I messed up and the commit ID inside the tarball is not the one which released in the end. Hack around it in the script. --- contrib/fedora/utils/makerepo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index 99cafe7b7d..0c6caa7722 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -425,6 +425,9 @@ pushd "$DIRNAME" RELEASE_BASE_COMMIT="$(sed -n 's/^NM_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)" elif [[ "$BUILD_TYPE" == "libnl3" ]]; then RELEASE_BASE_COMMIT="$(sed -n 's/^LIBNL_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)" + if [[ "$RELEASE_BASE_COMMIT" == "23c44dad998f72f39fd1fc24aa9579fd0a7f05c0" ]]; then + RELEASE_BASE_COMMIT="e01b9df629e2f4f833fdc4fe0bda460bb738d136" + fi elif [[ "$BUILD_TYPE" == "network-manager-applet" ]]; then RELEASE_BASE_COMMIT="$(sed -n 's/^NMA_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)" elif [[ "$BUILD_TYPE" == "glib2" ]]; then