Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2011-07-19 16:51:15 +0400
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2011-07-19 16:51:33 +0400
commitf21b5fd68b9464e645e93effc5f49a11f08bc9e8 (patch)
tree4119be81acd0a89460a3a3ebb59ae325e52ae9f0 /configure
parentacd21dc0d1492396f9e3151f31f0fb81c06a5721 (diff)
Fix configure regression
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 4 insertions, 6 deletions
diff --git a/configure b/configure
index 5ca1c51bc8..a8294b15e1 100755
--- a/configure
+++ b/configure
@@ -173,12 +173,10 @@ create_local_config ()
# Copy the .pc file to local-config, and set the base lib directory
mkdir -p local-config
builddir=`pwd`/$path/build
- if test -a $1/*.pc.in; then
- for f in `ls $1/*.pc.in` ; do
- pcfile=`echo $f | sed s,.*/,, | sed s/\.in$//`
- sed -e s,libdir=.*,libdir=$builddir, -e s/@VERSION@/$ver/g $f> local-config/$pcfile
- done
- fi
+ for f in `ls $1/*.pc.in 2>/dev/null`; do
+ pcfile=`echo $f | sed s,.*/,, | sed s/\.in$//`
+ sed -e s,libdir=.*,libdir=$builddir, -e s/@VERSION@/$ver/g $f> local-config/$pcfile
+ done
# Generate the .addins file for the package
addins=local-config/`echo $path | sed s,/,_,`.addins