Unverified Commit 77b5205a authored by Hans-Christoph Steiner's avatar Hans-Christoph Steiner Committed by Mattia Rizzolo
Browse files

reproducible_fdroid: include correct path for debug files

parent a7869e93
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -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."
}