At Mon, 02 Jun 2003 23:54:09 -0400, Paul Davis wrote: > > >This bit: > > > > ${xtmp:0:5} > > > >is a Bash-ism. Normal Bourne shells don't understand this. I'm guessing > >that your system's /bin/sh isn't Bash. You might be able to put a > > > > SHELL=/bin/bash > > paul[2846]>which sh > /bin/sh > paul[2847]>ls -l /bin/sh > lrwxrwxrwx 1 root root 4 Aug 16 2000 /bin/sh -> bash > paul[2852]>bash -version > GNU bash, version 1.14.7(1)
i'm not sure, too, whether bash1 doesn't support the format above. anyway, please try the patch attached below. it replaces the function with sed & co. (unfortunately, we cannot use $(subst acore,core,$(MODCURDIR)) because the word "acore" might match inside the pathname.) Takashi
old-bash-fix.dif
Description: Binary data