mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-20 12:49:14 +00:00
chown fdroiddata directory for the build
For the CI builds fdroiddata lies outside of $home_vagrant in /builds/$GITLAB_USER/fdroiddata, so the files where still owned by root. This breaks $fdroid publish, running as user vagrant, when using git_repo.is_dirty() in common.setup_status_output() due to git safe.directory. (The actual error message is error: unknown option cached). Note that this only triggers when build-contains-signatures.py succeeds.
This commit is contained in:
parent
9f76c8d849
commit
6b819a0970
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ fdroid build:
|
|||
- for build in $APPS; do
|
||||
set -x;
|
||||
apt-get install sudo;
|
||||
chown -R vagrant $home_vagrant;
|
||||
chown -R vagrant $home_vagrant "$PWD";
|
||||
$fdroid fetchsrclibs $build --verbose;
|
||||
$fdroid build --verbose --test --scan-binary --on-server --no-tarball $build;
|
||||
rm -rf "build/${build%:*}" || true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue