Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 450298 | Differences between
and this patch

Collapse All | Expand All

(-)scala-2.10.2-orig/tools/get-scala-commit-date (-2 / +2 lines)
Lines 10-17 Link Here
10
10
11
[[ $# -eq 0 ]] || cd "$1"
11
[[ $# -eq 0 ]] || cd "$1"
12
12
13
lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
13
lastcommitdate="2013-05-31"
14
lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
14
lastcommithours="00:00:00"
15
15
16
# 20120324
16
# 20120324
17
echo "${lastcommitdate//-/}-${lastcommithours//:/}"
17
echo "${lastcommitdate//-/}-${lastcommithours//:/}"
(-)scala-2.10.2-orig/tools/get-scala-commit-sha (-1 / +1 lines)
Lines 12-18 Link Here
12
12
13
# printf %016s is not portable for 0-padding, has to be a digit.
13
# printf %016s is not portable for 0-padding, has to be a digit.
14
# so we're stuck disassembling it.
14
# so we're stuck disassembling it.
15
hash=$(git log -1 --format="%H" HEAD)
15
hash="60d462ef6e0dba5f9a7c4cc81255fcb9fba7939a"
16
hash=${hash#g}
16
hash=${hash#g}
17
hash=${hash:0:10}
17
hash=${hash:0:10}
18
echo "$hash"
18
echo "$hash"

Return to bug 450298