[Scummvm-git-logs] scummvm master -> 8f72b4aec8236484499567e7702fb79c2d316e37

sev- sev at scummvm.org
Sat Jul 31 15:32:00 UTC 2021


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:
8f72b4aec8 DEVTOOLS: COMPANION: Bail out on unsuccessful hcopy


Commit: 8f72b4aec8236484499567e7702fb79c2d316e37
    https://github.com/scummvm/scummvm/commit/8f72b4aec8236484499567e7702fb79c2d316e37
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-07-31T17:31:23+02:00

Commit Message:
DEVTOOLS: COMPANION: Bail out on unsuccessful hcopy

Changed paths:
    devtools/dumper-companion.pl


diff --git a/devtools/dumper-companion.pl b/devtools/dumper-companion.pl
index 52b1903a9d..309c13dd0f 100755
--- a/devtools/dumper-companion.pl
+++ b/devtools/dumper-companion.pl
@@ -178,9 +178,9 @@ sub processIso($) {
 				flush STDOUT;
 
 				if ($res != 0) {
-					system1("hcopy -m -- \"$mdir$fname\" \"$outPath$dir$decfname\"");
+					system1("hcopy -m -- \"$mdir$fname\" \"$outPath$dir$decfname\"") == 0 or die "Can't execute hcopy";
 				} else {
-					system1("hcopy -r -- \"$mdir$fname\" \"$outPath$dir$decfname\"");
+					system1("hcopy -r -- \"$mdir$fname\" \"$outPath$dir$decfname\"") == 0 or die "Can't execute hcopy";
 				}
 				$numfiles++;
 			} else {




More information about the Scummvm-git-logs mailing list