Installation of the new Intel® License Manager for FLEXlm* version 2.0 for Linux* (released Janaury 2012) may fail with syntax errors when being executed under the dash.
Check the /bin/sh link which shell it actually links to, for example
$ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 2010-05-27 16:10 /bin/sh -> dash
If it links to the dash (as shown above) you may solve the issue with one of the following:
Solution 1: Link /bin/sh to bash
(at least for the time of installation; requires (sudo) root rights), for example
# rm /bin/sh
# ln -s /bin/bash /bin/sh
Solution 2: Replace the Shebang line in the install script
Edit file Intel_INSTALL and
replace
#!/bin/sh
by
#!/bin/bash
Check the /bin/sh link which shell it actually links to, for example
$ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 2010-05-27 16:10 /bin/sh -> dash
If it links to the dash (as shown above) you may solve the issue with one of the following:
Solution 1: Link /bin/sh to bash
(at least for the time of installation; requires (sudo) root rights), for example
# rm /bin/sh
# ln -s /bin/bash /bin/sh
Solution 2: Replace the Shebang line in the install script
Edit file Intel_INSTALL and
replace
#!/bin/sh
by
#!/bin/bash
