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
-- 
1.7.4.4


------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to