diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-09-05 19:22:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-09-06 09:17:15 +0200 |
commit | 59ffc89d42be8458557592c79a4e9e5eb3a0b37d (patch) | |
tree | e70dd6f57dc68dcee30ad75d1d1249dc11ccc0b0 | |
parent | 632e843e5f694ba258e716a7f0e0ceb39055f303 (diff) |
remove bogus 'version' script
Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3
-rwxr-xr-x | version | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/version b/version deleted file mode 100755 index ba4d6a5..0000000 --- a/version +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# Little shell script to grab current version number from configure.in -# -# $Id: version,v 1.3 2003/01/28 22:39:30 jjako Exp $ - -VER=`grep AC_INIT configure.in | awk -F'[(),]' '{print $3}'` -if [ "$1" == "-VERSION" ] -then - echo $VER | awk -F'.' '{print $1}' - exit -fi -if [ "$1" == "-PATCHLEVEL" ] -then - echo $VER | awk -F'.' '{print $2}' - exit -fi -if [ "$1" == "-SUBLEVEL" ] -then - echo $VER | awk -F'.' '{print $3}' - exit -fi -echo $VER -exit |