[Tools] winetest: Use relative paths in get_build_info().
Francois Gouget
fgouget at codeweavers.com
Mon Jun 12 04:14:47 CDT 2017
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>
---
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 dcd9795a..fb949b15 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 99e50fb3..ae8a0e5c 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 94f35410..2886bc51 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);
--
2.11.0
More information about the wine-patches
mailing list