> Well, I think the bug is in the file /usr/lib/savi/savi, line 71.
> The variable SAVIBIN is set to bin/SaVi which is only correct when
yes, it did, but please note Line 180-181

if [ ! ${ARCH} = "unknown" ]; then
  SAVIBIN="${SAVI}/${SAVIBIN}"

here, on Debian, the $ARCH is "ubuntu", not "unknown", so it
*redefine* SAVIBIN.
> the working directory is /usr/lib/savi. Changing this line to
> SAVIBIN=${SAVI}/bin/SaVi fix things for me.
> 
See above ,the author did it.
> Attached is a trace using the original /usr/lib/savi/savi file.
> 
It may caused by your /bin/sh, isn't it dash or bash ?
This script get the directory which contains itself first,
stored in $SAVI.

But if do this job like you,
        cd /usr/lib/savi; sh ./savi
the $SAVI will be just "." , then $SAVIBIN will be ./bin/SaVi

while if "sh /usr/lib/savi/savi"
$SAVI will be /usr/lib/savi
and then $SAVIBIN will be /usr/lib/savi/bin/SaVi

Was your shell processing these above correctly ?

=======================================
and there is a side effect of your "cd xxx; sh xxxx;"
It will change users PWD, it is offensive.

=======================================
I will upload a new version to fix some other problems:
        * put all files to /usr/share/savi except the ELF file.
        * fix a problem that geomview cannot get oogl files.

This version may fix your problem, but I am not very sure about it,
so, I will not close this bug in changelog.
You can test it and if it did fix your problem, then we can close
it then.




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to