void-packages/common/wrappers/uname.sh

6 lines
115 B
Bash
Raw Normal View History

#!/bin/sh
uname=$(/usr/bin/uname $@)
rv=$?
echo "$uname" | sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/"