summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-04-01 23:55:39 +0200
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-04-01 22:45:39 +0000
commita7b2c81353ede862296e32615fa03dba3ba9cef9 (patch)
tree38444f81f1cbc13901b302e693540fb71a90247d
parent0c92fe023d67d08163f79d6689273df6c682d8b9 (diff)
downloadmidipix_build-a7b2c81353ede862296e32615fa03dba3ba9cef9.tar.bz2
midipix_build-a7b2c81353ede862296e32615fa03dba3ba9cef9.tar.xz
vars/dist_gitref.vars: support build systems with ancient git versions (no -C).
-rw-r--r--vars/dist_gitref.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/dist_gitref.vars b/vars/dist_gitref.vars
index eff4912b..4ebab3db 100644
--- a/vars/dist_gitref.vars
+++ b/vars/dist_gitref.vars
@@ -3,7 +3,7 @@
#
pkg_dist_gitref_all() {
- git -C "${MIDIPIX_BUILD_PWD}" rev-parse HEAD > "${PREFIX}/build.gitref";
+ (ex_rtl_fileop cd "${MIDIPIX_BUILD_PWD}" && git rev-parse HEAD > "${PREFIX}/build.gitref");
};
# vim:filetype=sh