mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01: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 {} \;
|