diff --git a/common/wrappers/date.sh b/common/wrappers/date.sh new file mode 100644 index 00000000000..2baed65f59d --- /dev/null +++ b/common/wrappers/date.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ "$SOURCE_DATE_EPOCH" ]; then + post="--date @$SOURCE_DATE_EPOCH" +fi +exec /usr/bin/date $@ $post diff --git a/common/wrappers/uname.sh b/common/wrappers/uname.sh new file mode 100644 index 00000000000..8c57364a149 --- /dev/null +++ b/common/wrappers/uname.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +uname=$(/usr/bin/uname $@) +rv=$? +echo "$uname" | sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/"