common/wrappers/date.sh: use utc, fix escaping
This commit is contained in:
parent
dabde86036
commit
e47bcaa55a
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$SOURCE_DATE_EPOCH" ]; then
|
if [ "$SOURCE_DATE_EPOCH" ]; then
|
||||||
post="--date @$SOURCE_DATE_EPOCH"
|
post="--utc --date @$SOURCE_DATE_EPOCH"
|
||||||
fi
|
fi
|
||||||
exec /usr/bin/date $@ $post
|
exec /usr/bin/date "$@" $post
|
||||||
|
|
Loading…
Reference in a new issue