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

sev- sev at scummvm.org
Sat Jul 31 15:24:38 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:
8ce0327544 DEVTOOLS: COMPANION: Do not hide hmount output in verbose mode


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

Commit Message:
DEVTOOLS: COMPANION: Do not hide hmount output in verbose mode

Changed paths:
    devtools/dumper-companion.pl


diff --git a/devtools/dumper-companion.pl b/devtools/dumper-companion.pl
index 42e4ac01a1..52b1903a9d 100755
--- a/devtools/dumper-companion.pl
+++ b/devtools/dumper-companion.pl
@@ -97,7 +97,10 @@ sub processIso($) {
 	flush STDOUT;
 	print "\n" if $verbose;
 
-	system1("hmount \"$isofile\" >/dev/null 2>&1") == 0 or die "Can't execute hmount";
+	my $redirect = $verbose ? "" : ">/dev/null 2>&1";
+
+	system1("hmount \"$isofile\" $redirect") == 0 or die "Can't execute hmount";
+
 	print "done\n" unless $verbose;
 
 	print "C: hls -1alRU\n" if $verbose;
@@ -193,7 +196,7 @@ sub processIso($) {
 	flush STDOUT;
 	print "\n" if $verbose;
 
-	system1("humount >/dev/null 2>&1") == 0 or die "Can't execute humount";
+	system1("humount $redirect") == 0 or die "Can't execute humount";
 	print "done\n" unless $verbose;
 }
 




More information about the Scummvm-git-logs mailing list