summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/abuild.in b/abuild.in
index 2cf61b8..2ba0f4b 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1012,11 +1012,11 @@ prepare_metafiles() {
done
fi
- # store last_commit in global var so we only call git once
- if [ -z "$last_commit" ]; then
- last_commit="$(git_last_commit)$(git_dirty)"
+ # store ABUILD_LAST_COMMIT in global var so we only call git once
+ if [ -z "$ABUILD_LAST_COMMIT" ]; then
+ ABUILD_LAST_COMMIT="$(git_last_commit)$(git_dirty)"
fi
- echo "commit = $last_commit" >> "$pkginfo"
+ echo "commit = $ABUILD_LAST_COMMIT" >> "$pkginfo"
get_maintainer
if [ -n "$maintainer" ]; then