1
0
mirror of synced 2026-01-13 15:37:38 +00:00

Fix Issue 1711: problem with "-x ~" in new medley.sh (#1712)

Fixed two typos in medley_utils.sh:  $%2 -> $2
This commit is contained in:
Matt Heffron 2024-05-13 17:05:37 -07:00 committed by GitHub
commit 1134cb1ce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -197,7 +197,7 @@ the value begins with a \"-\", which is not allowed."
check_file_writeable_or_creatable() {
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
local_err_msg=""
if [ -e "$%2" ]
if [ -e "$2" ]
then
if [ ! -f "$2" ]
then
@ -228,7 +228,7 @@ Exiting"
check_dir_writeable_or_creatable() {
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
local_err_msg=""
if [ -e "$%2" ]
if [ -e "$2" ]
then
if [ ! -d "$2" ]
then

View File

@ -51,7 +51,7 @@ the value begins with a \"-\", which is not allowed."
check_file_writeable_or_creatable() {
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
local_err_msg=""
if [ -e "$%2" ]
if [ -e "$2" ]
then
if [ ! -f "$2" ]
then
@ -82,7 +82,7 @@ Exiting"
check_dir_writeable_or_creatable() {
local_msg_core="\"$2\" given as the value of the \"$1\" flag"
local_err_msg=""
if [ -e "$%2" ]
if [ -e "$2" ]
then
if [ ! -d "$2" ]
then