Skip to content

Commit

Permalink
bin/freeze: use exec
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredpixel committed Apr 24, 2022
1 parent cea52d5 commit e483a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/freeze
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash -eu
set -o pipefail
#-------------------------------------------------------------------------------
docker-compose exec -T plugin-spellchecker sh <<EOF
cabal freeze
#sed -i '/^index-state:/d' cabal.project.freeze
sed '/^index-state:/d' cabal.project.freeze >cabal.project.freeze.tmp
cat cabal.project.freeze.tmp >cabal.project.freeze
rm cabal.project.freeze.tmp
EOF

0 comments on commit e483a3c

Please sign in to comment.