Skip to content

Commit b568d36

Browse files
committed
run_matlab: add some missing quoting
1 parent 2f92541 commit b568d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/_mlxshake_run_matlab

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ locate_matlab () {
4848

4949
locate_matlab
5050

51-
bin_dir=$(dirname $0)
52-
reporoot=$(dirname "$bin_dir")
51+
bin_dir="$(dirname "$0")"
52+
reporoot="$(dirname "$bin_dir")"
5353
devkit_dir="$reporoot/dev-kit"
5454
matlab -batch "addpath '$reporoot/Mcode'; addpath '${devkit_dir}'; $1"

0 commit comments

Comments
 (0)