diff options
| author | fukachan <fukachan> | 2003-02-11 13:23:14 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-02-11 13:23:14 +0000 |
| commit | 97262d67eeb776deb70f395bd5cbda48270f0bfc (patch) | |
| tree | 319e63b012f9460c7c3d8962fa6ffb4ee8a3fb2a /regress | |
| parent | 16baeacc0224486ab263ccf1918240fa29bdc3ad (diff) | |
| download | fml8-97262d67eeb776deb70f395bd5cbda48270f0bfc.tar.gz fml8-97262d67eeb776deb70f395bd5cbda48270f0bfc.tar.bz2 fml8-97262d67eeb776deb70f395bd5cbda48270f0bfc.zip | |
add utility to update *.pm in fml/lib/
Diffstat (limited to 'regress')
| -rw-r--r-- | regress/simulation/.cvsignore | 1 | ||||
| -rwxr-xr-x | regress/simulation/reset_lib.sh | 14 |
2 files changed, 14 insertions, 1 deletions
diff --git a/regress/simulation/.cvsignore b/regress/simulation/.cvsignore index fd4a4787..3287a620 100644 --- a/regress/simulation/.cvsignore +++ b/regress/simulation/.cvsignore @@ -2,5 +2,4 @@ __scan__ bin mysql.sh -reset_lib.sh w diff --git a/regress/simulation/reset_lib.sh b/regress/simulation/reset_lib.sh new file mode 100755 index 00000000..b7e697b2 --- /dev/null +++ b/regress/simulation/reset_lib.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $FML$ +# + +today=`date +%C%y%m%d` + +if [ ! -d /usr/local/lib/fml/current-$today/ ]; then + sh install.sh +fi + +sudo rsync -C -av lib/ /usr/local/lib/fml/current-$today/ ; + +exit 0 |
