Files
lazarus-ccr/applications/cactusjukebox/tools/get_cactus_version_string.sh
sekelsenmat 6f8c048343 Adds the cactus jukebox to the lazarus ccr
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1748 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-21 09:39:48 +00:00

4 lines
156 B
Bash
Executable File

#!/bin/bash
# argument must be path to cactus_const.inc
cat $1 | grep ' *CACTUS_VERSION *=.*;' | sed -e 's/const....[A-Z_ =;]*.//g' -e 's/.;//g' -e's/ //g'