void-packages/common/wrappers/date.sh
2016-03-03 16:52:18 +01:00

6 lines
119 B
Bash

#!/bin/sh
if [ "$SOURCE_DATE_EPOCH" ]; then
post="--utc --date @$SOURCE_DATE_EPOCH"
fi
exec /usr/bin/date "$@" $post