Code: Select all
$ lsb_release=$(which lsb_release); $lsb_release -v | grep -E "core-(3|4)\..-(ia32|x86_64)" >/dev/null; echo $?
0So if it had sucess it extracts the binary portions, does some other stuff and finally launches the binary (which fails).
The actual problem is probably that it only searches within /usr/bin or /bin/ for the lsb_release script. Run this on your school's binary (fresh download please):
Code: Select all
sed -e 's#lsb_release=/usr/bin/lsb_release#lsb_release=`which lsb_release`# -i /path/to/binary'I just tried to run the script and it worked fine. Except that I couldn't successfully run the binary as I only got the first line of it.
