From: Uri Guttman Date: Tue, 22 Sep 2009 22:11:13 +0000 (-0400) Subject: added checking of result when building demos X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=05cbee4690fe396104465b48f8516ad9e48337bc;p=urisagit%2FStem.git added checking of result when building demos --- diff --git a/BuildStem.pm b/BuildStem.pm index 53b52dd..2f9f771 100644 --- a/BuildStem.pm +++ b/BuildStem.pm @@ -48,8 +48,11 @@ sub build_demo_scripts { my @files = ; for my $file (@files) { + my $result = $self->copy_if_modified( $file, $demo_dir, 'flatten'); + + next unless $result ; $self->fix_shebang_line($result) if $self->is_unixish(); $self->make_executable($result);