From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: mkbltnmlst.sh sources directories.
Date: 17 Dec 1999 22:23:01 +0900 [thread overview]
Message-ID: <rsqwvqdln0q.fsf@crane.jaist.ac.jp> (raw)
mkbltnmlst.sh sources directories as:
make[1]: Entering directory `/home/akr/src/zsh/cvs/zsh/Src'
srcdir='.' MODBINS='modules-bltin' \
XMODCF='./xmods.conf' /bin/sh ./mkbltnmlst.sh bltinmods.list
./mkbltnmlst.sh: .: ./../: is a directory
...
Note that this result is on linux. On Solaris 7, /bin/sh actualy
sources a directory and generates messy errors:
srcdir='.' MODBINS='modules-bltin' \
XMODCF='./xmods.conf' /bin/sh ./mkbltnmlst.sh bltinmods.list
./mkbltnmlst.sh: ^Dku^L^A.^A^F^[^L^B..^Dzl^L^CCVS^Dkv^X^MChangeLog.3.0^Dkw^T: not found
./mkbltnmlst.sh: .cvsignore^Dkx^T: not found
...
Is this fix correct?
Index: mkbltnmlst.sh
===================================================================
RCS file: /projects/zsh/zsh/Src/mkbltnmlst.sh,v
retrieving revision 1.1.1.11
diff -u -r1.1.1.11 mkbltnmlst.sh
--- mkbltnmlst.sh 1999/12/16 14:26:33 1.1.1.11
+++ mkbltnmlst.sh 1999/12/17 13:15:14
@@ -34,6 +34,7 @@
eval "modfile=\$modfile_$q_x_mod"
unset moddeps autobins autoinfixconds autoprefixconds autoparams
unset automathfuncs
+ if [ -f $srcdir/../$modfile ]; then
. $srcdir/../$modfile
for bin in $autobins; do
echo " add_autobin(\"$bin\", \"$x_mod\");"
@@ -53,6 +54,7 @@
for dep in $moddeps; do
echo " add_dep(\"$x_mod\", \"$dep\");"
done
+ fi
test "x$linked" = xno && echo "#endif"
done
--
Tanaka Akira
next reply other threads:[~1999-12-17 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-17 13:23 Tanaka Akira [this message]
1999-12-17 13:32 ` Zefram
1999-12-17 13:45 ` Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqwvqdln0q.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).