diff options
author | Tom Yu <tlyu@mit.edu> | 1997-10-03 06:27:26 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1997-10-03 06:27:26 +0000 |
commit | c6907a905d2ec2b3e01ef2d4a1bb88c0f7344daf (patch) | |
tree | a8f4ffb3a148f56787b12854e3be15afe057b23a /src/tests/dejagnu/Makefile.in | |
parent | 467e062e49f66de90febd82ddcfe58f27ccf3903 (diff) | |
download | krb5-c6907a905d2ec2b3e01ef2d4a1bb88c0f7344daf.zip krb5-c6907a905d2ec2b3e01ef2d4a1bb88c0f7344daf.tar.gz krb5-c6907a905d2ec2b3e01ef2d4a1bb88c0f7344daf.tar.bz2 |
* Makefile.in: Fix up site.exp generation to reduce the quoting
lossage somewhat.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10205 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/dejagnu/Makefile.in')
-rw-r--r-- | src/tests/dejagnu/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in index 32ca3f5..7d45af0 100644 --- a/src/tests/dejagnu/Makefile.in +++ b/src/tests/dejagnu/Makefile.in @@ -25,14 +25,19 @@ t_inetd:: t_inetd.o $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o t_inetd t_inetd.o $(KRB5_BASE_LIBS) clean:: - $(RM) t_inetd t_inetd.o site.exp + $(RM) t_inetd t_inetd.o site.exp runenv.vars runenv.vals clean-unix:: $(RM) -rf tmpdir dbg.log krb.log krb.sum -site.exp:: Makefile - echo "set runvarlist [list $(KRB5_RUN_ENV)]" | sed \ - -e 's/;//g' -e 's:=\.:='`pwd`'/.:g' > site.exp - +runenv.vars: Makefile + echo '$(KRB5_RUN_ENV)' | tr ';' '\012' | \ + sed -ne 's% *\([^=]*\)=.*%\1%p' > runenv.vars +runenv.vals: runenv.vars + $(KRB5_RUN_ENV) for i in `cat runenv.vars`; do \ + eval echo "{$$i=\$$$$i}"; done > runenv.vals +site.exp: runenv.vals + echo "set runvarlist [list `cat runenv.vals`]" | \ + sed -e 's%=\.%='`pwd`'/.%g' > site.exp |