Thanks for all the replies.
So, the file is executable (I chmodded 777...I know that's bad to do but I was just making sure).
Here is the result of doing the non-existant file check thing. quartus.sh is the now renamed install script, test.sh is a file containing "#!/bin/sh [newline]echo hi", and asdf is the non existant file.
Code:
kcuzner@kcuzner-AOA150:/tmp$ ll
total 3128516
drwx------ 2 kcuzner kcuzner 4096 2011-11-22 10:58 keyring-FXvTyI
drwx------ 2 lightdm lightdm 4096 2011-11-22 10:59 pulse-2L9K88eMlGn7
drwx------ 2 kcuzner kcuzner 4096 2011-11-22 10:58 pulse-cXyHZzsRwpC5
drwx------ 2 root root 4096 2011-11-22 10:53 pulse-PKdhtXMmr18n
-rwxrwxr-x 1 kcuzner kcuzner 3203561074 2011-11-22 15:53 quartus.sh
drwx------ 3 kcuzner kcuzner 4096 2011-11-22 10:59 sni-qt_skype_1892-VX4MRI
drwx------ 2 kcuzner kcuzner 4096 2011-11-22 10:58 ssh-YzonKnLb1785
-rwxrwxr-x 1 kcuzner kcuzner 21 2011-11-22 21:47 test.sh
-rw-rw-r-- 1 lightdm lightdm 0 2011-11-22 10:53 unity_support_test.0
drwx------ 2 kcuzner kcuzner 4096 2011-11-22 10:58 virtual-kcuzner.IokbST
kcuzner@kcuzner-AOA150:/tmp$ sh test.sh
hi
kcuzner@kcuzner-AOA150:/tmp$ sh ./test.sh
hi
kcuzner@kcuzner-AOA150:/tmp$ sh asdf
sh: Can't open asdf
kcuzner@kcuzner-AOA150:/tmp$ sh ./asdf
sh: Can't open ./asdf
kcuzner@kcuzner-AOA150:/tmp$ sh quartus.sh
sh: Can't open quartus.sh
kcuzner@kcuzner-AOA150:/tmp$ sh ./quartus.sh
sh: Can't open ./quartus.sh
kcuzner@kcuzner-AOA150:/tmp$ sh
$ sh asdf
sh: Can't open asdf
$ sh ./asdf
sh: Can't open ./asdf
$ ./asdf
sh: ./asdf: not found
$ ./quartus.sh
/bin/sh: Can't open ./quartus.sh
$ exit
Executing "head -20" on the script returns the following:
Code:
kcuzner@kcuzner-AOA150:/tmp$ head -20 quartus.sh
#!/bin/sh
# This script was generated using Makeself 2.1.5
CRCsum="4090133961"
MD5="f3a01db471ea54958c48629f0f773776"
TMPROOT=${TMPDIR:=/tmp}
export PATH=.:webinstall:$PATH
export LD_LIBRARY_PATH=.:webinstall:$LD_LIBRARY_PATH
label="Quartus II Web Edition (Free)"
script="setup"
scriptargs=""
targetdir="11.1_173_quartus_free_linux"
filesizes="3203551460"
keep=y
print_cmd_arg=""
if type printf > /dev/null; then
print_cmd="printf"
elif test -x /usr/ucb/echo; then
So I guess it is an extractor.
Now, here is something weird I discovered. If I do "bash quartus.sh" I get the following:
Code:
kcuzner@kcuzner-AOA150:/tmp$ bash quartus.sh
Creating directory 11.1_173_quartus_free_linux
Verifying archive integrity... All good.
Uncompressing Quartus II Web Edition (Free)...................................................................................................................................................................................................
./setup: 1: Syntax error: "&" unexpected
It took about 15-20 minutes to get to that point. I suspect that the error has something to do with using bash instead of dash.
I also ran md5 against it (there was a provided hash at the download site) and it matched up so the download is intact.
Bookmarks