From 49f5361799e54763ec1cca072c4a083d18e3b41f Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 29 Jul 2011 14:12:56 +0530 Subject: [PATCH] (minor) don't ignore dirty-ness when generating version number --- src/gl-system-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl-system-install b/src/gl-system-install index b1f88f8..f8263cd 100755 --- a/src/gl-system-install +++ b/src/gl-system-install @@ -70,7 +70,7 @@ perl -lpi -e "s(^GL_PACKAGE_CONF=.*)(GL_PACKAGE_CONF=$gl_conf_dir)" $buildroot$g # record which version is being sent across; we assume it's HEAD if git rev-parse --is-inside-work-tree >/dev/null 2>&1 then - git describe --tags --long HEAD 2>/dev/null > conf/VERSION || die "git describe failed -- this should not happen!" + git describe --tags --long --dirty=-dt 2>/dev/null > conf/VERSION || die "git describe failed -- this should not happen!" else [ -f conf/VERSION ] || echo '(unknown)' > conf/VERSION fi