File: update_src_for_link_system_libs.sh

package info (click to toggle)
monodevelop-database 4.0.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,216 kB
  • ctags: 4,147
  • sloc: cs: 25,913; xml: 4,043; makefile: 792; sh: 621
file content (10 lines) | stat: -rwxr-xr-x 513 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo "Updating Mono.Data.Sqlite.dll references"
find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/contrib/Sqlite/Mono\.Data\.Sqlite\.dll!-r:Mono.Data.Sqlite.dll!g' -i {} \;

echo "Updating MySql.Data.dll references"
find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/contrib/MySql/MySql\.Data\.dll!\$(shell pkg-config --libs mysql-connector-net)!g' -i {} \;

echo "Deleting reject files (*.rej)"
find -name "*.rej" -delete