summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 26c527c..860187d 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -530,7 +530,7 @@ prepare_workspace() {
git clean -df
fi
- GIT_OBJECT_ID="$(git show-ref -s heads/master)"
+ GIT_OBJECT_ID="$(git rev-parse --verify HEAD)"
cd "${PROJECT_DIR}"
if [ "x${ARGV2_CODENAME}" != "x" ]; then