diff --git a/tools/repro-build.sh b/tools/repro-build.sh index 37bb3b774..af503a9b2 100755 --- a/tools/repro-build.sh +++ b/tools/repro-build.sh @@ -30,7 +30,7 @@ if [ -f /etc/os-release ]; then . /etc/os-release OS=$NAME VER=$VERSION_ID -elif type lsb_release >/dev/null 2>&1; then +elif command -v lsb_release >/dev/null 2>&1; then # linuxbase.org OS=$(lsb_release -si) VER=$(lsb_release -sr)