Loading bin/reproducible_fdroid_test.sh +7 −5 Original line number Diff line number Diff line Loading @@ -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." } Loading Loading
bin/reproducible_fdroid_test.sh +7 −5 Original line number Diff line number Diff line Loading @@ -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." } Loading