Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo >&2 Creating CoW tree...
if ! cp -a --reflink=always $NIPA_TREE ./nipa-run/tree 2>/dev/null; then
echo >&2 Falling back to git clone and hardlinks...
rm -rf ./nipa-run/tree
git clone -b nipa-local $NIPA_TREE ./nipa-run/tree
git clone $NIPA_TREE ./nipa-run/tree
fi
# nipa doesn't work if HEAD is pointing to nipa-local, so generate a
# guaranteed random branch name as HEAD. This always happens on
Expand Down Expand Up @@ -48,4 +48,4 @@ docker run $DOCKER_FLAGS --rm --user=nipa \
-v $PWD/ccache:/home/nipa/.ccache \
-v $PWD/ccache:/root/.ccache \
--name nipa-local nipa-local \
/nipa/ingest_mdir.py --mdir /nipa-patches --tree /nipa-run/tree --tree-name $NIPA_TREE_NAME --tree-branch nipa-local
/nipa/ingest_mdir.py --mdir /nipa-patches --tree /nipa-run/tree --tree-name $NIPA_TREE_NAME