Mercurial > dropbear
comparison libtomcrypt/printinfo.sh @ 1471:6dba84798cd5
Update to libtomcrypt 1.18.1, merged with Dropbear changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 21:44:05 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1470:8bba51a55704 | 1471:6dba84798cd5 |
---|---|
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 |