1
0
mirror of synced 2026-01-25 20:06:44 +00:00

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:
Frank Halasz
2024-05-13 15:33:14 -07:00
committed by GitHub
parent 8e22a4dcb9
commit 5073a793e3
3 changed files with 10 additions and 2 deletions

View File

@@ -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}/")"

View File

@@ -27,7 +27,7 @@ run_id="default"
screensize=""
sysout_arg=""
sysout_stage=""
title="Medley Interlisp %i"
title=""
use_vnc=false
windows=false
maikodir_arg=""

View File

@@ -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}/")"