get-df-version: make filter more strict

develop
lethosor 2019-01-02 17:05:28 -05:00
parent b08ccd001e
commit 8063717503
1 changed files with 1 additions and 1 deletions

@ -1,4 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")"
cd ..
grep DF_VERSION CMakeLists.txt | perl -ne 'print "$&\n" if /[\d\.]+/'
grep -i 'set(DF_VERSION' CMakeLists.txt | perl -ne 'print "$&\n" if /[\d\.]+/'