A quick fix for some perl patch-helper scripts.

This commit is contained in:
Wayne Davison
2020-04-05 17:18:32 -07:00
parent b0c03e2be9
commit b63276e70f
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ use Getopt::Long;
);
&usage if $help_opt;
push @INC, '.';
require 'packaging/git-status.pl';
check_git_state($master_branch, !$skip_branch_check, 1);

View File

@@ -33,6 +33,8 @@ if (defined $incl_generated_files) {
die "No '$patches_dir' directory was found.\n" unless -d $patches_dir;
die "No '.git' directory present in the current dir.\n" unless -d '.git';
push @INC, '.';
require 'packaging/git-status.pl';
my $starting_branch = check_git_state($master_branch, !$skip_branch_check, 1);