diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2009-01-14 03:51:15 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2009-01-14 03:51:15 +0300 |
commit | 3fd37889ffa063d0a088735a7fb485016785003b (patch) | |
tree | 3aabdbe2c2d06ff8fac06e026a5a07f76d4c9232 /main/mdtool.in | |
parent | cc0114f52f0d9ab9b81a1e7072f468cf0fc85c22 (diff) |
* main/monodevelop.in: Fix pkgconfig paths. Thanks to Vadim Chekan for
this.
* main/mdtool.in: Fix pkgconfig paths. Use /bin/bash, as sh doesn't
necessarily support exec -a.
svn path=/trunk/monodevelop/; revision=123291
Diffstat (limited to 'main/mdtool.in')
-rw-r--r-- | main/mdtool.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mdtool.in b/main/mdtool.in index 5b06f15524..c1e7a4085c 100644 --- a/main/mdtool.in +++ b/main/mdtool.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #this script should be in $PREFIX/bin PREFIX="${0%%/mdtool}/.." @@ -13,7 +13,7 @@ PKGCONFIG_PREFIX="${PKGCONFIG_PREFIX%%/pkg-config}/.." MD_PKG_CONFIG_PATH="" for D in "$PREFIX/.." "$MONO_PREFIX" "$PKGCONFIG_PREFIX" '/usr/local' '/usr'; do - for PKGDIR in "$D/../lib/pkgconfig" "$D/../lib64/pkgconfig" "$D/../share/pkgconfig"; do + for PKGDIR in "$D/lib/pkgconfig" "$D/lib64/pkgconfig" "$D/share/pkgconfig"; do if [ -d "$PKGDIR" ]; then MD_PKG_CONFIG_PATH="$MD_PKG_CONFIG_PATH:$PKGDIR"; fi done done |