Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
c37be409
Commit
c37be409
authored
May 04, 2016
by
Hisham
Browse files
Improve reproducible builds.
Use a SOURCE_DATA_EPOCH friendly date. Suggested by @fasterit in #476.
parent
fa1b5d1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
c37be409
...
...
@@ -4,7 +4,8 @@
AC_PREREQ(2.65)
AC_INIT([htop],[2.0.1],[hisham@gobolinux.org])
year=$(date +%Y)
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
year=$(date -u -d "@$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u "+%Y")
# The following two lines are required by hwloc scripts
AC_USE_SYSTEM_EXTENSIONS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment