summaryrefslogtreecommitdiff
path: root/mk/git.mk
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-01-29 17:32:38 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-01-31 14:05:57 -0600
commitcca7e9f7e1143f3405bc90ff8e2176d82ab491ef (patch)
tree63fee486bd9b9729b7defc66577daae1fddc1c1b /mk/git.mk
parentc2529c1ed61816799dd56bb46699b2b8cf5acb39 (diff)
downloadopenrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.gz
openrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.bz2
openrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.xz
use immediate evaluation for shell calls
This reworks the shell calls in the makefiles to use immediate evaluation and should improve parallel building. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
Diffstat (limited to 'mk/git.mk')
-rw-r--r--mk/git.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/git.mk b/mk/git.mk
index 54a98ef..62cae5a 100644
--- a/mk/git.mk
+++ b/mk/git.mk
@@ -4,5 +4,5 @@ _GITVER_SH= if git rev-parse --short HEAD >/dev/null 2>&1; then \
else \
echo ""; \
fi
-_GITVER!= ${_GITVER_SH}
-GITVER= ${_GITVER}$(shell ${_GITVER_SH})
+_GITVER:= $(shell ${_GITVER_SH})
+GITVER= ${_GITVER}