Hi!
> Fix function 'version_of_ltp' to reference Version in the correct path
> Fix Version's path when settign version_date
> 
> Signed-off-by: Carmelo Amoroso <[email protected]>
> ---
>  runltp |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/runltp b/runltp
> index 4ef8b38..244cd2f 100755
> --- a/runltp
> +++ b/runltp
> @@ -97,7 +97,7 @@ setup()
>  
>  version_of_ltp()
>  {
> -    cat "$LTPROOT/Version"
> +    cat "$LTPROOT/testcases/bin/Version"
>      exit 0
>  }
>  
> @@ -209,7 +209,7 @@ main()
>  
>      local scenfile=
>  
> -    version_date=$(cat "$LTPROOT/Version")
> +    version_date=$(cat "$LTPROOT/testcases/bin/Version")
>  
>      while getopts a:c:C:d:D:f:F:ehi:K:g:l:m:M:Nno:pqr:s:S:t:T:w:x:b:B: arg
>      do  case $arg in

Right, but there is one more thing to fix.

The Version is generated from Changelog, which is abandoned for some
time. But we introduced a VERSION file that carries latest version. So
the best woul be to drop Changelog completly and use the VERSION file
instead, anybody objects to that?

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to