From 7a478e859d97605101392c02963f1add6a499e62 Mon Sep 17 00:00:00 2001 From: jkratoch <> Date: Sun, 9 Aug 2009 10:37:11 +0000 Subject: [PATCH] Cosmetic fix of the displayed `finished:' progress messages. --- bin/hammock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/hammock b/bin/hammock index e1640ee..8f7a8b9 100755 --- a/bin/hammock +++ b/bin/hammock @@ -197,8 +197,9 @@ while (@distrouse || keys(%child)) { $rpmbuild.=q{ --dbpath $PWD --nodeps}; } - my $distrodir="$dir/$distro"; - $distrodir.="-$target" if $target; + my $distrodirbase=$distro; + $distrodirbase.="-$target" if $target; + my $distrodir="$dir/$distrodirbase"; newdir $distrodir; $log="$distrodir/log"; my $out="$distrodir/out"; @@ -207,7 +208,7 @@ while (@distrouse || keys(%child)) { my $pid=fork(); die if !defined $pid; if ($pid) { - $child{$pid}=$distro; + $child{$pid}=$distrodirbase; next; } } -- 1.8.3.1