Which will work assuming you *execute* the script *from* the directory
where as I think ../../../yourscript.sh would break
err I *think* this will fix that.
#!/bin/sh
cd $( dirname "$0" )
zcat ./gmvid.gmv.gz | ./gmplay
hth : )
EDIT: Might need to play with the reference, this is untested. ta. ymmv
|