uname: overwrites the hostname in command uname with the string 'void'. date: uses the timestamp read from SOURCE_DATE_EPOCH as date.
6 lines
111 B
Bash
6 lines
111 B
Bash
#!/bin/sh
|
|
|
|
if [ "$SOURCE_DATE_EPOCH" ]; then
|
|
post="--date @$SOURCE_DATE_EPOCH"
|
|
fi
|
|
exec /usr/bin/date $@ $post
|