openwrt/config/check-uname.sh
Felix Fietkau 2d5b83197a build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols
This can be used to simplify host os tests in various places

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-11-01 16:37:52 +01:00

2 lines
42 B
Bash
Executable File

[ "$(uname)" = "$1" ] && echo y || echo n