Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored and kakkoyun committed Nov 8, 2023
1 parent bc42c9a commit cd89b65
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions mojo/build_mojo_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ container_engine=${container_engine:=docker}
extra_cap=${extra_cap:=}
while [ $# -gt 0 ]; do
case "$1" in
--auth-key)
user_key="$2"
shift
;;
--use-podman)
container_engine=podman
extra_cap="--cap-add SYS_PTRACE"
;;
--mojo-version)
mojo_ver="$2"
shift
;;
--*)
echo "Unrecognized option $1"
;;
--auth-key)
user_key="$2"
shift
;;
--use-podman)
container_engine=podman
extra_cap="--cap-add SYS_PTRACE"
;;
--mojo-version)
mojo_ver="$2"
shift
;;
--*)
echo "Unrecognized option $1"
;;
esac
shift $(($# > 0 ? 1 : 0))
done
Expand Down

0 comments on commit cd89b65

Please sign in to comment.