diff options
author | 2015-12-17 07:59:15 -0500 | |
---|---|---|
committer | 2015-12-17 07:59:15 -0500 | |
commit | 386201041d49d5e80f7ca7ed6b5268f60a23be2f (patch) | |
tree | c0a5a5645420d097d228bff677bd4a8040ede90c /mkman.sh | |
parent | manpage fixes (diff) | |
parent | Embed deterministic timestamp in manpages (diff) | |
download | firejail-386201041d49d5e80f7ca7ed6b5268f60a23be2f.tar.gz firejail-386201041d49d5e80f7ca7ed6b5268f60a23be2f.tar.zst firejail-386201041d49d5e80f7ca7ed6b5268f60a23be2f.zip |
Merge pull request #193 from reinerh/master
Make the build reproducible
Diffstat (limited to 'mkman.sh')
-rwxr-xr-x | mkman.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | sed "s/VERSION/$1/g" $2 > $3 | 3 | sed "s/VERSION/$1/g" $2 > $3 |
4 | MONTH=`date +%b` | 4 | MONTH=`LC_ALL=C date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%b` |
5 | sed -i "s/MONTH/$MONTH/g" $3 | 5 | sed -i "s/MONTH/$MONTH/g" $3 |
6 | YEAR=`date +%Y` | 6 | YEAR=`LC_ALL=C date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y` |
7 | sed -i "s/YEAR/$YEAR/g" $3 | 7 | sed -i "s/YEAR/$YEAR/g" $3 |