defs.mk, get-os.sh: Define OSTYPE as linux on Linux

The environment variable OSTYPE contains different values
on Linux: Linux on OpenSUSE and linux-gnu on RHEL / CentOS

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-01-30 16:22:58 +00:00
commit 8d30bbf748
2 changed files with 6 additions and 0 deletions

View file

@ -122,6 +122,11 @@ cmd_name()
echo ${nv%%-*}
}
cmd_type()
{
echo linux
}
# --- here we go
myname=`basename $0`