From: Tom Yu Date: Fri, 17 Jun 1994 07:22:50 +0000 (+0000) Subject: calculate BUILDTOP now X-Git-Tag: krb5-1.0-beta4.1~60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46e01e02dbabdd45cc5f317fe3f376e7785aefa1;p=krb5.git calculate BUILDTOP now git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3862 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/autotools/makeaclocals b/src/autotools/makeaclocals index 44afa23b7..4c10a4579 100644 --- a/src/autotools/makeaclocals +++ b/src/autotools/makeaclocals @@ -1,10 +1,14 @@ #!/bin/sh for i in `find . -type d ! -name CVS -print`; do - k=`echo $i | sed -e 's/[^/]//g' | sed -e 's/\//..\//g'` + k=`echo $i | sed -e 's/[^/]//g' \ + -e 's/\//..\//g' \ + -e 's/\(.*\)\/$/.\/\1/'` if test $i != . ; then echo match: $i $k - - echo 'sinclude(['$k'aclocal.m4])' > $i/aclocal.m4 -# echo 'sinclude(['$k'aclocal.m4])' + cat >$i/aclocal.m4<