Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit b0a351c

Browse files
committed
We need local REPOS_DIR outside of the jail
1 parent 94f170c commit b0a351c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.cirrus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ freebsd_build_task:
2323
GH_API_TOKEN: ENCRYPTED[5e482f417304528148bb96eca8d030eacd6ab9972d482485fc4d42907283b995f658b351e0676e9493a37d815398f541]
2424

2525
prepare_script:
26-
- pkg update -f;
26+
- pkg -R .cirrus/pkg/repos update -f;
2727
- |
2828
if test "$abi" = "freebsd:11:x86:32"; then
29-
$pkg_latest -y cbsd
29+
pkg -R .cirrus/pkg/repos install -y cbsd
3030
./scripts/configure_freebsd_ci_jail.sh $jail_name $CIRRUS_WORKING_DIR;
3131
$exec_prefix pkg update -f
3232
fi
@@ -37,7 +37,7 @@ freebsd_build_task:
3737

3838
build_script:
3939
- |
40-
[ -n "$working_dir} ] && change_dir="cd ${working_dir} &&"
40+
if [ -n "{$working_dir}" ]; then change_dir="cd ${working_dir} &&"; fi
4141
echo "$change_dir npm install --unsafe-perm" | $exec_prefix /bin/sh
4242
4343
publish_script:

0 commit comments

Comments
 (0)