- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm using Parallel Studio on the linux. After upgrading to 2020 version, the initialization is failed with my login shell, zsh,
because the initialize script “advixe-vars.sh” is written in a bash dialect.
#!/bin/sh SCRIPT_DIR="$( dirname "$( readlink -e "${BASH_SOURCE[0]}" )" )” <- wrong line
The situation is same in other stuff like vtune, inspector...
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, are you able to workaround the issue for now? If you aren't please use "$0" instead of "${BASH_SOURCE[0]}".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I already fixed the issue by replacing "${BASH_SOURCE[0]}" with "${BASH_SOURCE[0]:-$0}". But there are many similar lines in the product. Please fix in future updates.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page