Skip to content

Commit

Permalink
replace awk with sed
Browse files Browse the repository at this point in the history
Co-authored-by: Nuno Agostinho <[email protected]>
  • Loading branch information
nakib103 and nuno-agostinho committed Sep 23, 2024
1 parent 8b9c16c commit f6ac162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travisci/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

if [[ "$COVERALLS" = 'true' && ! "${TRAVIS_PERL_VERSION}" =~ '5.10' ]]
then
awk '!/Devel::Cover/' ensembl/cpanfile > tmp_cpanfile && mv tmp_cpanfile ensembl/cpanfile
awk '!/Devel::Cover/' cpanfile > tmp_cpanfile && mv tmp_cpanfile cpanfile
sed -i '/Devel::Cover/d' ensembl/cpanfile
sed -i '/Devel::Cover/d' cpanfile
fi

cpanm --quiet --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
Expand Down

0 comments on commit f6ac162

Please sign in to comment.