Gentoo Archives: gentoo-docs-it

From: Daniele Segato <daniele.segato@×××××.com>
To: gentoo-docs-it@l.g.o
Subject: Re: [gentoo-docs-it] Breviario del traduttore?
Date: Mon, 06 Feb 2012 09:50:05
Message-Id: 4F2FA30E.6080902@gmail.com
In Reply to: Re: [gentoo-docs-it] Breviario del traduttore? by Daniele Segato
1 On 02/06/2012 10:44 AM, Daniele Segato wrote:
2 > if [[ XML_VALIDATION -ne 0 ]] ; then
3 > LOG_FILE="/tmp/git-commit-hook-log_`date '+%y%m%d%H%M%S'`.log"
4 > mv "$TMP_FILE" "$LOG_FILE"
5
6 errore:
7 mv "$TMP_LOG" "LOG_FILE"
8
9 > echo "See $LOG_FILE for details"
10 > echo "If you want to ignore this errors re commit with --no-verify
11 > option"
12 > exit $XML_VALIDATION
13 > else
14 > rm -f "$TMP_LOG" 2> /dev/null
15 > exit 0;
16 > fi