medley.sh: Fix handling of '--title -' in medley_run.sh and medley_args.sh (#1710)
* Fix handilng of '--title -' in medley_run.sh and medley_args.sh * medley.sh: Fix typo in default title introduced in last commit
This commit is contained in:
@@ -593,7 +593,7 @@ run_id="default"
|
||||
screensize=""
|
||||
sysout_arg=""
|
||||
sysout_stage=""
|
||||
title="Medley Interlisp %i"
|
||||
title=""
|
||||
use_vnc=false
|
||||
windows=false
|
||||
maikodir_arg=""
|
||||
@@ -1235,6 +1235,10 @@ if [ -z "${LDEKBDTYPE}" ]; then
|
||||
fi
|
||||
|
||||
# figure out title situation
|
||||
if [ -z "${title}" ]
|
||||
then
|
||||
title="Medley Interlisp %i"
|
||||
fi
|
||||
if [ ! "${run_id}" = default ]
|
||||
then
|
||||
title="$(printf %s "${title}" | sed -e "s/%i/:: ${run_id}/")"
|
||||
|
||||
@@ -27,7 +27,7 @@ run_id="default"
|
||||
screensize=""
|
||||
sysout_arg=""
|
||||
sysout_stage=""
|
||||
title="Medley Interlisp %i"
|
||||
title=""
|
||||
use_vnc=false
|
||||
windows=false
|
||||
maikodir_arg=""
|
||||
|
||||
@@ -182,6 +182,10 @@ if [ -z "${LDEKBDTYPE}" ]; then
|
||||
fi
|
||||
|
||||
# figure out title situation
|
||||
if [ -z "${title}" ]
|
||||
then
|
||||
title="Medley Interlisp %i"
|
||||
fi
|
||||
if [ ! "${run_id}" = default ]
|
||||
then
|
||||
title="$(printf %s "${title}" | sed -e "s/%i/:: ${run_id}/")"
|
||||
|
||||
Reference in New Issue
Block a user