File: update_src_for_link_system_libs.sh

package info (click to toggle)
monodevelop-database 3.0.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,208 kB
  • sloc: cs: 25,909; xml: 4,050; makefile: 792; sh: 652
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