diff --git a/tycho-getTimestamp.patch b/tycho-getTimestamp.patch index 42283dd..4bf8a85 100644 --- a/tycho-getTimestamp.patch +++ b/tycho-getTimestamp.patch @@ -6,7 +6,7 @@ diff -urEbwB org.eclipse.tycho-tycho-1.6.0.orig/tycho-packaging-plugin/src/main/ @Override public Date getTimestamp(MavenSession session, MavenProject project, MojoExecution execution) { + if (System.getenv("SOURCE_DATE_EPOCH") != null) { -+ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")))); ++ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); + } return session.getStartTime(); }