'test' error
Hi!
I have this lines in my script:
myvar=`dataload.sh $1 $2 $3 $log` ;
if test $myvar -eq 1
then
./script.sh
fi
and I get this error message:
./launch.sh: line 35: test: too many arguments
In 'dataload.sh', myvar appears twice:
myvar=0;
while ..
do
..
myvar=1 ;
done
and it is echoed at the end of the file to be recieved in the first script
echo $myvar;
What coud be wrong in my script?
Thanks in advance,
LooPoo
|