File: update_src_for_link_system_libs.sh

package info (click to toggle)
monodevelop-database 2.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,156 kB
  • ctags: 4,150
  • sloc: cs: 25,982; xml: 4,061; makefile: 840; sh: 646
file content (10 lines) | stat: -rw-r--r-- 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