From 921eb96288d6240076b8d4b9cb735e4cf76deaf0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 25 Oct 2014 22:37:26 +0200 Subject: everybody uses 7byte git ids --- bin/chroot-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/chroot-run.sh') diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index 07c6802d..19beabea 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -94,9 +94,9 @@ cleanup() { mkdir $EDUDOC mv $NEWDOC/usr/share/doc/debian-edu-doc-* $EDUDOC/ VERSION=$(echo $CHANGES | cut -d "_" -f2) - touch "$EDUDOC/${VERSION}_git${GIT_COMMIT:0:8}" + touch "$EDUDOC/${VERSION}_git${GIT_COMMIT:0:7}" rm -r $NEWDOC - MESSAGE="https://jenkins.debian.net/userContent/debian-edu-doc/ has been updated from ${GIT_COMMIT:0:8}" + MESSAGE="https://jenkins.debian.net/userContent/debian-edu-doc/ has been updated from ${GIT_COMMIT:0:7}" kgb-client --conf /srv/jenkins/kgb/debian-edu.conf --relay-msg "$MESSAGE" echo echo $MESSAGE -- cgit v1.2.3-54-g00ecf