the -q option also sets the wrong environment variable. It should set the "Q_DIR" variable not "QDIR".
I've attached a revised version of the script. ** Attachment added: "A revised version of the script." https://bugs.launchpad.net/ubuntu/+source/qprof/+bug/448782/+attachment/2157539/+files/qprof -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/448782 Title: Incorrect getopts line in shell script -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs