Skip to content

Commit

Permalink
Different OS different sed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Sep 20, 2024
1 parent 4109e78 commit 8aed0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/custom-upgrade-awscli-v2-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
. .venv/bin/activate
pip install -r requirements.txt
python3 -c "import subprocess; subprocess.check_call(('pwd'))"
python3 -c "import subprocess; subprocess.check_call(('sed', '-i', '', '-e', \"/amazon\\\\/aws-cli:/s/:.*/:%s/\"%('123'), '../../layer/Dockerfile'), stdout=subprocess.PIPE)"
python3 -c "import subprocess; subprocess.check_call(('sed', '-i', '-e', \"/amazon\\\\/aws-cli:/s/:.*/:%s/\"%('123'), '../../layer/Dockerfile'), stdout=subprocess.PIPE)"
cat ../../layer/Dockerfile
python3 -c "import subprocess; subprocess.check_call(('sed', '-i', '', '-e', \"/amazon\\\\/aws-cli:/s/:.*/:%s/\"%('123'), '../../layer/Dockerfile'))"
cat ../../layer/Dockerfile
Expand Down

0 comments on commit 8aed0fe

Please sign in to comment.