Skip to content

Commit

Permalink
fixed PWD
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Jan 29, 2024
1 parent 02f85ef commit a63add1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rebuild:
docker build --build-arg TAG=$(TAG) --build-arg VCS_REF=$(shell git rev-parse HEAD) --no-cache --tag cs50/cli:$(TAG) .

run:
docker run --env LANG=$(LANG) --interactive --publish-all --rm --security-opt seccomp=unconfined --tty --volume $(PWD):/mnt --volume /var/run/docker.sock:/var/run/docker-host.sock --workdir /mnt cs50/cli bash --login || true
docker run --env LANG=$(LANG) --interactive --publish-all --rm --security-opt seccomp=unconfined --tty --volume "$(PWD)":/mnt --volume /var/run/docker.sock:/var/run/docker-host.sock --workdir /mnt cs50/cli bash --login || true

squash: depends
docker-squash --tag cs50/cli:$(TAG) cs50/cli:$(TAG)
1 change: 0 additions & 1 deletion etc/profile.d/cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ if [ "$(whoami)" != "root" ]; then
alias mv="mv -i"
alias pip="pip --no-cache-dir"
alias python="python -q"
alias R="R --vanilla"
alias rm="rm -i"
alias sudo="sudo " # Trailing space enables elevated command to be an alias

Expand Down

0 comments on commit a63add1

Please sign in to comment.