02-09-05 10:56 PM
Hi there!
Im trying to use the following to pick up libraries of different
extensions in the .spec file:
<lib_name>.@(a|sl|so)
It works on some of our systems, but on others, Solaris and Linux, I
get the error: "syntax error at line 40: `(' unexpected Bad exit
status"
Im confused because using ksh (my default) it works:
$ ls -l libt*.@(a|sl|so)
-rwxrwxrwx 1 dsnow staff 225680 Nov 10 06:12 libtcpiptst.so*
-rwxrwxrwx 1 dsnow staff 446096 Nov 10 06:12 libtrlsnorm.so*
If however, I switch to the "sh" shell it does not work:
$ sh
[${PROMPTNAME}] -->>${PWD}<<--
$ ls -l libt*.@(a|sl|so)
syntax error: `(' unexpected
[${PROMPTNAME}] -->>${PWD}<<--
$
Is it possible when the Rpm is being created it is switching to a
different shell? Is there a way to tell what is responsible for this
change?
Any help would be much apreciated...
chers,
David.
[ Post a follow-up to this message ]
|