comparison libtomcrypt/printinfo.sh @ 1511:5916af64acd4 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 19:29:51 +0800
parents 6dba84798cd5
children
comparison
equal deleted inserted replaced
1457:32f990cc96b1 1511:5916af64acd4
1 #!/bin/bash
2
3 version=$(git describe --tags --always --dirty 2>/dev/null)
4 if [ ! -e ".git" ] || [ -z $version ]
5 then
6 version=$(grep "^VERSION=" makefile_include.mk | sed "s/.*=//")
7 fi
8 echo "Testing version:" $version
9 #grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"`
10
11 # get uname
12 echo "uname="`uname -a`
13
14 # get gcc name
15 if [ -z ${CC} ]
16 then
17 CC="gcc"
18 fi
19 echo "${CC}="`${CC} -dumpversion`
20 echo