mjprof icon indicating copy to clipboard operation
mjprof copied to clipboard

bash syntax used in sh script

Open nukemberg opened this issue 10 years ago • 1 comments

On many unix systems /bin/sh is a bourne shell compatible on does not support the bash syntax used in mjprof script. either change the interpreter to /bin/bash or change the syntax to bourne shell.

e.g. on my laptop i got this when running mjprof: /home/avishai/tools/mjprof1.0/mjprof: 2: /home/avishai/tools/mjprof1.0/mjprof: Bad substitution

nukemberg avatar Nov 19 '14 21:11 nukemberg

Thanks will take a look into it

lifey avatar Nov 27 '14 11:11 lifey