Francois Gouget : winetest: Use relative paths in get_build_info().
Alexandre Julliard
julliard at winehq.org
Mon Jun 12 12:34:33 CDT 2017
Module: tools
Branch: master
Commit: a35fe43d2392f77d8c43e20cef571e702ef5898f
URL: http://source.winehq.org/git/tools.git/?a=commit;h=a35fe43d2392f77d8c43e20cef571e702ef5898f
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Jun 12 11:14:47 2017 +0200
winetest: Use relative paths in get_build_info().
It is meant to be called from the work directory anyway, just like the
rest of the scripts.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/build-index | 4 ++--
winetest/dissect | 4 ++--
winetest/gather | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/winetest/build-index b/winetest/build-index
index dcd9795..fb949b1 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -62,11 +62,11 @@ sub get_build_info($)
{
($date, $subject) = ($1, $2);
# Make sure the directory's mtime matches the commit time
- utime $date, $date, "$workdir/data/$build";
+ utime $date, $date, "data/$build";
}
else
{
- $date = (stat "$workdir/data/$build")[9];
+ $date = (stat "data/$build")[9];
$subject = "";
}
return ($date, $subject);
diff --git a/winetest/dissect b/winetest/dissect
index 99e50fb..ae8a0e5 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -81,11 +81,11 @@ sub get_build_info($)
{
($date, $subject) = ($1, $2);
# Make sure the directory's mtime matches the commit time
- utime $date, $date, "$workdir/data/$build";
+ utime $date, $date, "data/$build";
}
else
{
- $date = (stat "$workdir/data/$build")[9];
+ $date = (stat "data/$build")[9];
$subject = "";
}
return ($date, $subject);
diff --git a/winetest/gather b/winetest/gather
index 94f3541..2886bc5 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -76,11 +76,11 @@ sub get_build_info($)
{
($date, $subject) = ($1, $2);
# Make sure the directory's mtime matches the commit time
- utime $date, $date, "$workdir/data/$build";
+ utime $date, $date, "data/$build";
}
else
{
- $date = (stat "$workdir/data/$build")[9];
+ $date = (stat "data/$build")[9];
$subject = "";
}
return ($date, $subject);
More information about the wine-cvs
mailing list