From: J.A. M. <jam...@ab...> - 2004-02-22 23:50:34
|
Hi all... I have a problem when launcing remote scripts with bpsh. I have a soft that I build with different compilers, and stored like /opt/aleph/bin/tst Shell script /opt/aleph/bin/linux-gcc/tst Binary /opt/aleph/bin/linux-icc/tst Binary /opt/aleph/bin/default -> linux-gcc Deafult build I want to use The script does something like: #!/bin/bash /opt/aleph/bin/default/$(basename $0) Just try this: #!/bin/bash echo $0 The result is: annwn:~> bpsh 0 tst /proc/self/fd/3 Uh ? Something is missing in rfork/rexec to set up properly script names ? TIA -- J.A. Magallon <jamagallon()able!es> \ Software is like sex: werewolf!able!es \ It's better when it's free Mandrake Linux release 10.0 (RC1) for i586 Linux 2.6.3-jam2 (gcc 3.4.0 (Mandrake Linux 10.0 3.4.0-0.2mdk)) |