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:
commit
1134cb1ce6
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user