1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-14 10:58:05 +01:00
void-packages/common/wrappers/date.sh
2024-03-29 08:12:19 +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