File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,17 @@ if [ "$USE_LOCAL" = "true" ]; then
36
36
asciibinder package --site=$PACKAGE 2> /dev/null
37
37
else
38
38
echo " Warning: Local asciibinder not found. Falling back to container."
39
- $CONTAINER_ENGINE run --rm -it -v ` pwd` :/docs:Z quay.io/openshift-cs/asciibinder asciibinder package --site=$PACKAGE 2> /dev/null
40
- fi
39
+ $CONTAINER_ENGINE run --rm -v ` pwd` :/docs:Z quay.io/openshift-cs/asciibinder asciibinder package --site=$PACKAGE
41
40
else
42
41
echo " Using $CONTAINER_ENGINE container for build"
43
- $CONTAINER_ENGINE run --rm -it - v ` pwd` :/docs:Z quay.io/openshift-cs/asciibinder sh -c " git config --global --add safe.directory /docs && asciibinder package --site=$PACKAGE " 2> /dev/null
42
+ $CONTAINER_ENGINE run --rm -v ` pwd` :/docs:Z quay.io/openshift-cs/asciibinder sh -c " git config --global --add safe.directory /docs && asciibinder package --site=$PACKAGE "
44
43
fi
45
44
46
45
# # MOVING FILES INTO THE RIGHT PLACES
47
46
rm -rf ../_package
48
47
mkdir -p ../_package
49
- mv _package/${PACKAGE} /* ../_package/
48
+ sudo mv _package/${PACKAGE} /* ../_package/
50
49
git checkout $BRANCH
51
50
52
51
cd ..
53
- rm -rf .docs_source
52
+ sudo rm -rf .docs_source
You can’t perform that action at this time.
0 commit comments