mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
8 lines
341 B
Bash
8 lines
341 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
echo Placating Paket in paket.targets
|
||
|
find -iname paket.targets -print -exec sed --in-place=bak -e 's,mono --runtime[^<]*,true PAKET PLACATED BY buildDotnetPackage,g' {} \;
|
||
|
|
||
|
echo Just to be sure, replacing Paket executables by empty files.
|
||
|
find . -iname paket\*.exe \! -size 0 -exec mv -v {} {}.bak \; -exec touch {} \;
|