From 77b5205ad3004138f6e8b5c52347f281a8ce836d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 11 Jan 2021 11:01:49 +0100 Subject: [PATCH] reproducible_fdroid: include correct path for debug files Signed-off-by: Mattia Rizzolo --- bin/reproducible_fdroid_test.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bin/reproducible_fdroid_test.sh b/bin/reproducible_fdroid_test.sh index d44541f7e..7b95a634e 100755 --- a/bin/reproducible_fdroid_test.sh +++ b/bin/reproducible_fdroid_test.sh @@ -44,13 +44,15 @@ cleanup_all() { echo "$(date -u) - cleanup in progress..." killall adb killall gpg-agent - git -C $WORKSPACE/fdroiddata status + fdroiddata=$WORKSPACE/fdroiddata + git -C $fdroiddata status jobtmpdir=/tmp/$(basename $0)-$(date +%s)/ mkdir $jobtmpdir - for f in `git status | sed -En 's,\s+modified:\s+,,p'`; do - test -e $f || continue - ls -l $f - cp -a $f $jobtmpdir + for f in `git -C $fdroiddata status | sed -En 's,\s+modified:\s+,,p'`; do + path=$fdroiddata/$f + test -e $path || continue + ls -l $path + cp -a $path $jobtmpdir done echo "$(date -u) - cleanup done." } -- GitLab