]> git.pld-linux.org Git - packages/courier-authlib.git/commitdiff
- workaround for adapter trying to touch LDLAGS
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Sep 2005 16:06:14 +0000 (16:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- discard find

Changed files:
    courier-authlib.spec -> 1.32

courier-authlib.spec

index d60d6fdfec31c43db19ba16339c13e64b9b29baf..690bbdbbceeff06265f76502117eb2a174fbcef3 100644 (file)
@@ -191,12 +191,12 @@ cp /usr/share/automake/config.sub libltdl
 %{__libtoolize}
 
 # Change Makefile.am files and force recreate Makefile.in's.
-OLDDIR=`pwd`
-find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
-       cd "`dirname "$FILE"`"
+OLDDIR=$(pwd)
+for FILE in {,*/}configure.{in,ac}; do
+       cd "$(dirname "$FILE")"
 
        if [ -f Makefile.am ]; then
-               sed -i -e '/_LDFLAGS=-static/d' Makefile.am
+               sed -i -e '/_[L]DFLAGS=-static/d' Makefile.am
        fi
 
        %{__aclocal}
This page took 0.11722 seconds and 4 git commands to generate.