ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / build-support / dotnet / dotnetbuildhelpers / placate-paket.sh
blob0dbf1eecbad8c89b744c3d1c667cc11140c9cb0c
1 #!/usr/bin/env bash
3 echo Placating Paket in paket.targets
4 find -iname paket.targets -print -exec sed --in-place=bak -e 's,mono --runtime[^<]*,true PAKET PLACATED BY buildDotnetPackage,g' {} \;
6 echo Just to be sure, replacing Paket executables by empty files.
7 find . -iname paket\*.exe \! -size 0 -exec mv -v {} {}.bak \; -exec touch {} \;