1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-23 23:01:05 +01:00
void-packages/common/wrappers/date.sh

7 lines
119 B
Bash
Raw Normal View History

2024-03-29 08:12:19 +01:00
#!/bin/sh
if [ "$SOURCE_DATE_EPOCH" ]; then
post="--utc --date @$SOURCE_DATE_EPOCH"
fi
exec /usr/bin/date "$@" $post