common/wrappers/date.sh: use utc, fix escaping
This commit is contained in:
parent
dabde86036
commit
e47bcaa55a
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$SOURCE_DATE_EPOCH" ]; then
|
||||
post="--date @$SOURCE_DATE_EPOCH"
|
||||
post="--utc --date @$SOURCE_DATE_EPOCH"
|
||||
fi
|
||||
exec /usr/bin/date $@ $post
|
||||
exec /usr/bin/date "$@" $post
|
||||
|
|
Loading…
Reference in New Issue