diff options
| author | fukachan <fukachan> | 2005-06-04 09:47:39 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-06-04 09:47:39 +0000 |
| commit | 668128b41adb2ab54c2659593af2ea1adc0cb493 (patch) | |
| tree | 33d10fe940bfd146fc7bec339a1d977f26a7d0a8 | |
| parent | 960680178f8a265353df9189ba885d00a9108dc5 (diff) | |
| download | fml8-668128b41adb2ab54c2659593af2ea1adc0cb493.tar.gz fml8-668128b41adb2ab54c2659593af2ea1adc0cb493.tar.bz2 fml8-668128b41adb2ab54c2659593af2ea1adc0cb493.zip | |
define FML_CURRENT_VERSION in CHANGES.txt (temporary solution).
show_version.sh utility shows the current version.
| -rw-r--r-- | CHANGES.txt | 4 | ||||
| -rwxr-xr-x | fml/utils/bin/show_version.sh | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index fbabe8ad..52727331 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,8 @@ [最近のまとめ] + FML_CURRENT_VERSION=7.98.2 + 8.0 PRE_ALPHA 7.98.2 queuing system revised. fetchfml added. bug fix method naming convension (FNF). @@ -8470,4 +8472,4 @@ このファイルを創設する:) -$FML: CHANGES.txt,v 1.240 2005/06/03 14:48:26 fukachan Exp $ +$FML: CHANGES.txt,v 1.241 2005/06/04 09:06:42 fukachan Exp $ diff --git a/fml/utils/bin/show_version.sh b/fml/utils/bin/show_version.sh new file mode 100755 index 00000000..ba57d153 --- /dev/null +++ b/fml/utils/bin/show_version.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# $FML$ +# + +if [ -f CHANGES.txt ];then + version=`egrep '^ *FML_CURRENT_VERSION' CHANGES.txt|sed 's/.*=//' ` + echo fml-$version +else + exit 1 +fi + +exit 0; |
