[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with sh "shift" command in config.status on HP-UX
From: |
Daniel Richard G. |
Subject: |
RE: Problem with sh "shift" command in config.status on HP-UX |
Date: |
Thu, 26 Mar 2009 11:56:11 -0400 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Ralf Wildenhues
>
> But how can this be. Just before the shift, one of
> the two "set"
> commands is executed and sets $1 to "x". Which is
> exactly what the
> shift aims to undo!
I've confirmed that this works correctly for a small number of parameters,
but...
> Are you sure this is the position the error is
> happening?
I added the following blurb just before the shift:
echo "CONFIG_FILES = >$CONFIG_FILES<"
echo "# = >$#<"
echo "1 = >$1<"
echo "2 = >$2<"
echo "3 = >$3<"
The output:
CONFIG_FILES = > Makefile doc/Makefile ... ttest/Makefile<
# = >0<
1 = ><
2 = ><
3 = ><
The CONFIG_FILES list is huge---541 makefiles.