[Scummvm-git-logs] scummvm master -> 668820e018218b8544e35fbb569008f8a4bf1beb

digitall dgturner at iee.org
Sun Mar 3 01:20:16 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
668820e018 RISCOS: Don't expand system variables passed via the command line


Commit: 668820e018218b8544e35fbb569008f8a4bf1beb
    https://github.com/scummvm/scummvm/commit/668820e018218b8544e35fbb569008f8a4bf1beb
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2019-03-03T00:20:12Z

Commit Message:
RISCOS: Don't expand system variables passed via the command line

Changed paths:
    dists/riscos/!Run,feb


diff --git a/dists/riscos/!Run,feb b/dists/riscos/!Run,feb
index be6046e..8def7f7 100644
--- a/dists/riscos/!Run,feb
+++ b/dists/riscos/!Run,feb
@@ -6,8 +6,13 @@ RMEnsure SharedUnixLibrary 1.14 Error ScummVM requires SharedUnixLibrary 1.14 or
 RMEnsure DigitalRenderer 0.56 RMLoad System:Modules.DRenderer
 RMEnsure DigitalRenderer 0.56 Error ScummVM requires DigitalRenderer 0.56 or later. This can be downloaded from https://www.riscos.info/packages/LibraryDetails.html#DRenderer
 
-Set ScummVM$stdout ><Choices$Write>.ScummVM.stdout 2><Choices$Write>.ScummVM.stderr
-If "<Wimp$State>"="commands" Then Unset ScummVM$stdout Else CDir <Choices$Write>.ScummVM
+| If running from the desktop, redirect stdout and stderr to a file.
+| This shouldn't happen when running from the command line, so that commands like "<ScummVM$Dir> --help" still work as expected.
+Set Alias$Run_ScummVM Run <ScummVM$Dir>.scummvm %%*0 ><Choices$Write>.ScummVM.stdout 2><Choices$Write>.ScummVM.stderr
+If "<Wimp$State>"="commands" Then Set Alias$Run_ScummVM Run <ScummVM$Dir>.scummvm %%*0
+CDir <Choices$Write>.ScummVM
 
 |WimpSlot
-Do Run <ScummVM$Dir>.scummvm %*0 <ScummVM$stdout>
+Run_ScummVM %*0
+
+Unset Alias$Run_ScummVM





More information about the Scummvm-git-logs mailing list