1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-05-26 09:26:15 +02:00
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