Skip to content

Commit

Permalink
Tweak precondition checks
Browse files Browse the repository at this point in the history
Tweaked the precondition checks a bit so they don't complain about missing repos; which will not be present for all users upon initial run of `make`.
  • Loading branch information
David Helkowski authored and David Helkowski committed May 10, 2020
1 parent 53932b2 commit f13f363
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion check-versions.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
for my $name ( keys %$reqs ) {
my $repo = $ob->{ $name };
if( !$repo ) {
#print "repos/$name is missing\n";
print "repos/$name is missing\n";
next;
}
my $remote = $repo->{remote};
Expand Down
4 changes: 2 additions & 2 deletions get-version-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def git_info( dir ):
try:
res = subprocess.check_output( cmd, stderr=subprocess.STDOUT )
except subprocess.CalledProcessError as e:
sys.stderr.write( e.output )
#sys.stderr.write( e.output )
return {
"error": e.output
"error": "missing"#e.output
}

remote = subprocess.check_output( ["/usr/bin/git", "-C", "./" + dir, "remote","-v"] )
Expand Down
2 changes: 1 addition & 1 deletion makefile_preflight.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/perl -w
#!/usr/bin/perl -w
use strict;
my $brew_check = `./util/brewser.pl checkdeps stf_ios_support.rb`;
if( $brew_check =~ m/Missing/ ) {
Expand Down

0 comments on commit f13f363

Please sign in to comment.