Skip to content

Commit cc9fcc3

Browse files
committed
Fix Issue 1711 - fix two typos in medley_utils.sh $%2 -> $2
1 parent 5073a79 commit cc9fcc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/medley/medley.command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ the value begins with a \"-\", which is not allowed."
197197
check_file_writeable_or_creatable() {
198198
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
199199
local_err_msg=""
200-
if [ -e "$%2" ]
200+
if [ -e "$2" ]
201201
then
202202
if [ ! -f "$2" ]
203203
then
@@ -228,7 +228,7 @@ Exiting"
228228
check_dir_writeable_or_creatable() {
229229
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
230230
local_err_msg=""
231-
if [ -e "$%2" ]
231+
if [ -e "$2" ]
232232
then
233233
if [ ! -d "$2" ]
234234
then

scripts/medley/medley_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ the value begins with a \"-\", which is not allowed."
5151
check_file_writeable_or_creatable() {
5252
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
5353
local_err_msg=""
54-
if [ -e "$%2" ]
54+
if [ -e "$2" ]
5555
then
5656
if [ ! -f "$2" ]
5757
then
@@ -82,7 +82,7 @@ Exiting"
8282
check_dir_writeable_or_creatable() {
8383
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
8484
local_err_msg=""
85-
if [ -e "$%2" ]
85+
if [ -e "$2" ]
8686
then
8787
if [ ! -d "$2" ]
8888
then

0 commit comments

Comments
 (0)