summaryrefslogtreecommitdiff
path: root/dev-lang/scala/files/scala-2.11.7-no-git.patch
blob: ea337b23849b3a8ce7afdd95cbc16b2e65175225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- scala-2.11.7-orig/tools/get-scala-commit-date	2015-06-23 04:27:36.000000000 +1000
+++ scala-2.11.7/tools/get-scala-commit-date	2015-07-04 11:53:24.696520666 +1000
@@ -10,8 +10,8 @@
 
 [[ $# -eq 0 ]] || cd "$1"
 
-lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
-lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
+lastcommitdate="2015-06-23"
+lastcommithours="00:00:00"
 
 # 20120324
 echo "${lastcommitdate//-/}-${lastcommithours//:/}"
--- scala-2.11.7-orig/tools/get-scala-commit-sha	2015-06-23 04:27:36.000000000 +1000
+++ scala-2.11.7/tools/get-scala-commit-sha	2015-07-04 11:51:15.598526730 +1000
@@ -12,7 +12,7 @@
 
 # printf %016s is not portable for 0-padding, has to be a digit.
 # so we're stuck disassembling it.
-hash=$(git log -1 --format="%H" HEAD)
+hash="1fbce4612c21a4d0c553ea489b4765494828c09f"
 hash=${hash#g}
 hash=${hash:0:10}
 echo "$hash"